Error Constructor (String, String, ErrorContext)
Initializes a new instance of the Error class with the specified code, description, and error context values.
Namespace: Microsoft.MasterDataServices.Services.DataContracts
Assembly: Microsoft.MasterDataServices.Services.Contracts (in Microsoft.MasterDataServices.Services.Contracts.dll)
Syntax
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 Sub New (
code As String,
description As String,
errorContext As ErrorContext
)
Parameters
code
Type: System.StringA specified code value.
description
Type: System.StringA specified description value.
errorContext
Type: Microsoft.MasterDataServices.Services.DataContracts.ErrorContextA specified error context value.
See Also
Error Overload
Error Class
Microsoft.MasterDataServices.Services.DataContracts Namespace
Return to top