Error Constructor (String, String, ErrorContext)
Initializes a new instance of the Error class with the specified code, description, and error context values.
Espacio de nombres: Microsoft.MasterDataServices.Services.DataContracts
Ensamblado: Microsoft.MasterDataServices.Services.Contracts (en Microsoft.MasterDataServices.Services.Contracts.dll)
Sintaxis
'Declaración
Public Sub New ( _
code As String, _
description As String, _
errorContext As ErrorContext _
)
'Uso
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
)
Parámetros
- code
Tipo: System.String
A specified code value.
- description
Tipo: System.String
A specified description value.
- errorContext
Tipo: Microsoft.MasterDataServices.Services.DataContracts.ErrorContext
A specified error context value.
Vea también
Referencia
Espacio de nombres Microsoft.MasterDataServices.Services.DataContracts