SmsModelFactory.SmsSendResult(String, String, Int32, Boolean, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of SmsSendResult.
public static Azure.Communication.Sms.SmsSendResult SmsSendResult (string to, string messageId, int httpStatusCode, bool successful, string errorMessage);
static member SmsSendResult : string * string * int * bool * string -> Azure.Communication.Sms.SmsSendResult
Public Shared Function SmsSendResult (to As String, messageId As String, httpStatusCode As Integer, successful As Boolean, errorMessage As String) As SmsSendResult
Parameters
- to
- String
The recipient's phone number in E.164 format.
- messageId
- String
The identifier of the outgoing Sms message. Only present if message processed.
- httpStatusCode
- Int32
HTTP Status code.
- successful
- Boolean
Indicates if the message is processed successfully or not.
- errorMessage
- String
Optional error message in case of 4xx/5xx/repeatable errors.
Returns
Applies to
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.
Azure SDK for .NET