Sdílet prostřednictvím


EmailModelFactory.EmailSendResult Metoda

Definice

Přetížení

EmailSendResult(String, EmailSendStatus)

Inicializuje novou instanci EmailSendResult.

EmailSendResult(String, EmailSendStatus, ErrorDetail)

Inicializuje novou instanci EmailSendResult.

EmailSendResult(String, EmailSendStatus)

Inicializuje novou instanci 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

Parametry

id
String

OperationId operace odeslání e-mailu.

status
EmailSendStatus

Stav operace odeslání e-mailu

Návraty

Platí pro

EmailSendResult(String, EmailSendStatus, ErrorDetail)

Inicializuje novou instanci 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

Parametry

id
String

OperationId operace odeslání e-mailu.

status
EmailSendStatus

Stav operace odeslání e-mailu

error
ErrorDetail

Podrobnosti o chybě v případě, že stav terminálu není úspěšný.

Návraty

Platí pro