共用方式為


EmailModelFactory.EmailSendResult 方法

定義

多載

EmailSendResult(String, EmailSendStatus)

初始化 EmailSendResult 的新實例

EmailSendResult(String, EmailSendStatus, ErrorDetail)

初始化 EmailSendResult 的新實例

EmailSendResult(String, EmailSendStatus)

初始化 EmailSendResult 的新實例

public static Azure.Communication.Email.EmailSendResult EmailSendResult (string id = default, Azure.Communication.Email.EmailSendStatus status = default);
static member EmailSendResult : string * Azure.Communication.Email.EmailSendStatus -> Azure.Communication.Email.EmailSendResult
Public Shared Function EmailSendResult (Optional id As String = Nothing, Optional status As EmailSendStatus = Nothing) As EmailSendResult

參數

id
String

電子郵件傳送作業的 OperationId。

status
EmailSendStatus

電子郵件傳送作業的狀態。

傳回

適用於

EmailSendResult(String, EmailSendStatus, ErrorDetail)

初始化 EmailSendResult 的新實例

public static Azure.Communication.Email.EmailSendResult EmailSendResult (string id = default, Azure.Communication.Email.EmailSendStatus status = default, Azure.Communication.Email.ErrorDetail error = default);
static member EmailSendResult : string * Azure.Communication.Email.EmailSendStatus * Azure.Communication.Email.ErrorDetail -> Azure.Communication.Email.EmailSendResult
Public Shared Function EmailSendResult (Optional id As String = Nothing, Optional status As EmailSendStatus = Nothing, Optional error As ErrorDetail = Nothing) As EmailSendResult

參數

id
String

電子郵件傳送作業的 OperationId。

status
EmailSendStatus

電子郵件傳送作業的狀態。

error
ErrorDetail

狀態為非成功終端機狀態時的錯誤詳細資料。

傳回

適用於