Konstruktor Error (String, String, ErrorContext)
Inicjuje nowe wystąpienie Error klasy z określony kod, opis i błąd kontekst wartości.
Przestrzeń nazw: Microsoft.MasterDataServices.Services.DataContracts
Zestaw: Microsoft.MasterDataServices.Services (w Microsoft.MasterDataServices.Services.dll)
Składnia
'Deklaracja
Public Sub New ( _
code As String, _
description As String, _
errorContext As ErrorContext _
)
'Użycie
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
)
Parametry
- code
Typ: System.String
Wartość określonego kodu.
- description
Typ: System.String
Wartość określonego opisu.
- errorContext
Typ: Microsoft.MasterDataServices.Services.DataContracts.ErrorContext
Wartość błędu określony kontekst.
Zobacz także