Class NativeBridgeException
Base exception for managed wrappers around the native bridge. 原生 bridge 托管封装的基础异常类型。
public class NativeBridgeException : InvalidOperationException, ISerializable
- Inheritance
-
NativeBridgeException
- Implements
- Inherited Members
Constructors
NativeBridgeException(BridgeStatusCode, BridgeErrorCategory, string)
Creates a native bridge exception with bridge status metadata. 使用 bridge 状态元数据创建原生 bridge 异常。
public NativeBridgeException(BridgeStatusCode statusCode, BridgeErrorCategory errorCategory, string message)
Parameters
statusCodeBridgeStatusCodeerrorCategoryBridgeErrorCategorymessagestring
Properties
ErrorCategory
Gets the bridge error category associated with the exception. 获取与该异常关联的 bridge 错误类别。
public BridgeErrorCategory ErrorCategory { get; }
Property Value
StatusCode
Gets the bridge status code associated with the exception. 获取与该异常关联的 bridge 状态码。
public BridgeStatusCode StatusCode { get; }