共用方式為


Error 建構函式 (String, String)

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

命名空間:  Microsoft.MasterDataServices.Services.DataContracts
組件:  Microsoft.MasterDataServices.Services.Contracts (在 Microsoft.MasterDataServices.Services.Contracts.dll 中)

語法

'宣告
Public Sub New ( _
    code As String, _
    description As String _
)
'用途
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
)

參數

  • description
    型別:System.String
    A specified description value.

請參閱

參考

Error 類別

Error 多載

Microsoft.MasterDataServices.Services.DataContracts 命名空間