EmailModelFactory.EmailSendResult 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
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
狀態為非成功終端機狀態時的錯誤詳細資料。