SmsSendMessageResult SmsSendMessageResult SmsSendMessageResult SmsSendMessageResult Class

Definition

Encapsulates the results of calling SmsDevice2.SendMessageAndGetResultAsync.

Note

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

public : sealed class SmsSendMessageResult : ISmsSendMessageResultpublic sealed class SmsSendMessageResult : ISmsSendMessageResultPublic NotInheritable Class SmsSendMessageResult Implements ISmsSendMessageResult// You can use this class in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
cellularMessaging

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 CellularClass CellularClass CellularClass

Gets the cellular class used in the send operation.

public : CellularClass CellularClass { get; }public CellularClass CellularClass { get; }Public ReadOnly Property CellularClass As CellularClass// You can use this property in JavaScript.
Value
CellularClass CellularClass CellularClass CellularClass

An enumeration value giving the cellular class used in the send operation.

Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
cellularMessaging

IsErrorTransient IsErrorTransient IsErrorTransient IsErrorTransient

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

public : PlatForm::Boolean IsErrorTransient { get; }public bool IsErrorTransient { get; }Public ReadOnly Property IsErrorTransient As bool// You can use this property in JavaScript.
Value
PlatForm::Boolean bool bool bool

When true, the send resulted in an transient error.

Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
cellularMessaging

IsSuccessful IsSuccessful IsSuccessful IsSuccessful

Gets a value indicating whether the send operation was successful.

public : PlatForm::Boolean IsSuccessful { get; }public bool IsSuccessful { get; }Public ReadOnly Property IsSuccessful As bool// You can use this property in JavaScript.
Value
PlatForm::Boolean bool bool bool

When true, the send operation has completed successfully.

Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
cellularMessaging

MessageReferenceNumbers MessageReferenceNumbers MessageReferenceNumbers MessageReferenceNumbers

Gets a list of message numbers sent.

public : IVectorView<int> MessageReferenceNumbers { get; }public IReadOnlyList<int> MessageReferenceNumbers { get; }Public ReadOnly Property MessageReferenceNumbers As IReadOnlyList<int>// You can use this property in JavaScript.
Value
IVectorView<int> IReadOnlyList<int> IReadOnlyList<int> IReadOnlyList<int>

A list of message numbers that were sent.

Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
cellularMessaging

ModemErrorCode ModemErrorCode ModemErrorCode ModemErrorCode

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

public : SmsModemErrorCode ModemErrorCode { get; }public SmsModemErrorCode ModemErrorCode { get; }Public ReadOnly Property ModemErrorCode As SmsModemErrorCode// You can use this property in JavaScript.
Value
SmsModemErrorCode SmsModemErrorCode SmsModemErrorCode SmsModemErrorCode

An enumeration value describing the error that occurred.

Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
cellularMessaging

NetworkCauseCode NetworkCauseCode NetworkCauseCode NetworkCauseCode

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

public : int NetworkCauseCode { get; }public int NetworkCauseCode { get; }Public ReadOnly Property NetworkCauseCode As int// You can use this property in JavaScript.
Value
int int int int

Network-specific error codes.

Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
cellularMessaging

TransportFailureCause TransportFailureCause TransportFailureCause TransportFailureCause

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

public : int TransportFailureCause { get; }public int TransportFailureCause { get; }Public ReadOnly Property TransportFailureCause As int// You can use this property in JavaScript.
Value
int int int int

Transport-specific error code.

Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
cellularMessaging