Error 构造函数 (String, String, ErrorContext)

Initializes a new instance of the Error class with the specified code, description, and error context values.

命名空间:  Microsoft.MasterDataServices.Services.DataContracts
程序集:  Microsoft.MasterDataServices.Services.Contracts(在 Microsoft.MasterDataServices.Services.Contracts.dll 中)

语法

声明
Public Sub New ( _
    code As String, _
    description As String, _
    errorContext As ErrorContext _
)
用法
Dim code As String 
Dim description As String 
Dim errorContext As ErrorContext 

Dim instance As New Error(code, description, _
    errorContext)
public Error(
    string code,
    string description,
    ErrorContext errorContext
)
public:
Error(
    String^ code, 
    String^ description, 
    ErrorContext^ errorContext
)
new : 
        code:string * 
        description:string * 
        errorContext:ErrorContext -> Error
public function Error(
    code : String, 
    description : String, 
    errorContext : ErrorContext
)

参数

  • description
    类型:System.String
    A specified description value.

请参阅

参考

Error 类

Error 重载

Microsoft.MasterDataServices.Services.DataContracts 命名空间