次の方法で共有


Error コンストラクター (String, String, ErrorContext)

指定されたコード、説明、およびエラー コンテキストの値を使用して、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
)

パラメーター

関連項目

参照

Error クラス

Error オーバーロード

Microsoft.MasterDataServices.Services.DataContracts 名前空間