指定されたコード、説明、およびエラー コンテキストの値を使用して、Error クラスの新しいインスタンスを初期化します。
名前空間: 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
)
パラメーター
- code
型: System.String
指定されたコード値。
- description
型: System.String
指定された説明値。
- errorContext
型: Microsoft.MasterDataServices.Services.DataContracts.ErrorContext
指定されたエラー コンテキスト値。