AnchorException 构造函数 (String, Exception)

使用消息和内部异常参数初始化 AnchorException 类的一个新实例。

命名空间: Microsoft.Synchronization.Data
程序集: Microsoft.Synchronization.Data(在 microsoft.synchronization.data.dll 中)

语法

声明
Public Sub New ( _
    message As String, _
    inner As Exception _
)
用法
Dim message As String
Dim inner As Exception

Dim instance As New AnchorException(message, inner)
public AnchorException (
    string message,
    Exception inner
)
public:
AnchorException (
    String^ message, 
    Exception^ inner
)
public AnchorException (
    String message, 
    Exception inner
)
public function AnchorException (
    message : String, 
    inner : Exception
)

参数

  • message
    错误说明。
  • inner
    来自外部组件的经过包装的异常。

备注

请参阅

参考

AnchorException 类
AnchorException 成员
Microsoft.Synchronization.Data 命名空间