Partager via


Constructeur Error (String, String)

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

Espace de noms :  Microsoft.MasterDataServices.Services.DataContracts
Assembly :  Microsoft.MasterDataServices.Services.Contracts (en Microsoft.MasterDataServices.Services.Contracts.dll)

Syntaxe

'Déclaration
Public Sub New ( _
    code As String, _
    description As String _
)
'Utilisation
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
)

Paramètres

  • description
    Type : System.String
    A specified description value.

Voir aussi

Référence

Error Classe

Surcharge Error

Espace de noms Microsoft.MasterDataServices.Services.DataContracts