Share via


Error Constructor (String, String)

Initializes a new instance of the Error class with the specified code and description values.

Namespace:  Microsoft.MasterDataServices.Services.DataContracts
Assembly:  Microsoft.MasterDataServices.Services.Contracts (in Microsoft.MasterDataServices.Services.Contracts.dll)

Syntax

'Declaration
Public Sub New ( _
    code As String, _
    description As String _
)
'Usage
Dim code As String 
Dim description As String 

Dim instance As New Error(code, description)
public Error(
    string code,
    string description
)
public:
Error(
    String^ code, 
    String^ description
)
new : 
        code:string * 
        description:string -> Error
public function Error(
    code : String, 
    description : String
)

Parameters

See Also

Reference

Error Class

Error Overload

Microsoft.MasterDataServices.Services.DataContracts Namespace