Share via


SmsSendMessageResult Class

Definition

Encapsulates the results of calling SmsDevice2.SendMessageAndGetResultAsync.

Note

This functionality is available only to mobile operator apps and UWP apps given privileged access by mobile network operators, mobile broadband adapter IHV, or OEM. For more information, see Mobile Broadband.

public ref class SmsSendMessageResult sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class SmsSendMessageResult final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class SmsSendMessageResult
Public NotInheritable Class SmsSendMessageResult
Inheritance
Object Platform::Object IInspectable SmsSendMessageResult
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)
App capabilities
cellularMessaging sms

Remarks

You access an SmsSendMessageResult object through the asynchronous result of the SmsDevice2.SendMessageAndGetResultAsync method. For information about working with the results of asynchronous methods, see Asynchronous programming (Windows Runtime apps).

Properties

CellularClass

Gets the cellular class used in the send operation.

IsErrorTransient

Gets a boolean value indicating whether the send operation has encountered a transient error.

IsSuccessful

Gets a value indicating whether the send operation was successful.

MessageReferenceNumbers

Gets a list of message numbers sent.

ModemErrorCode

Gets the error code for a modem error associated with the send operation.

NetworkCauseCode

Gets the error code for a network error associated with the send operation.

TransportFailureCause

Gets the error code for a transport failure associated with the send operation.

Applies to