DscReportError 建構函式

定義

多載

DscReportError()

初始化 DscReportError 類別的新實例。

DscReportError(String, String, String, String, String, String)

初始化 DscReportError 類別的新實例。

DscReportError()

初始化 DscReportError 類別的新實例。

public DscReportError ();
Public Sub New ()

適用於

DscReportError(String, String, String, String, String, String)

初始化 DscReportError 類別的新實例。

public DscReportError (string errorSource = default, string resourceId = default, string errorCode = default, string errorMessage = default, string locale = default, string errorDetails = default);
new Microsoft.Azure.Management.Automation.Models.DscReportError : string * string * string * string * string * string -> Microsoft.Azure.Management.Automation.Models.DscReportError
Public Sub New (Optional errorSource As String = Nothing, Optional resourceId As String = Nothing, Optional errorCode As String = Nothing, Optional errorMessage As String = Nothing, Optional locale As String = Nothing, Optional errorDetails As String = Nothing)

參數

errorSource
String

取得或設定錯誤的來源。

resourceId
String

取得或設定產生錯誤的資源識別碼。

errorCode
String

取得或設定錯誤碼。

errorMessage
String

取得或設定錯誤訊息。

locale
String

取得或設定錯誤的地區設定。

errorDetails
String

取得或設定錯誤詳細資料。

適用於