SmsModemErrorCode SmsModemErrorCode SmsModemErrorCode SmsModemErrorCode Enum

Definition

Values that describe error codes from the SMS modem in an SmsSendMessageResult.

public : enum class SmsModemErrorCodepublic enum SmsModemErrorCodePublic Enum SmsModemErrorCode// You can use this enum 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

Fields

DeviceFailure DeviceFailure DeviceFailure DeviceFailure

The device failed.

DeviceNotReady DeviceNotReady DeviceNotReady DeviceNotReady

The device was not ready to send SMS.

FixedDialingNumberRestricted FixedDialingNumberRestricted FixedDialingNumberRestricted FixedDialingNumberRestricted

The device is restricted to a fixed dialing number list, and the number used was not in the list.

InvalidSmscAddress InvalidSmscAddress InvalidSmscAddress InvalidSmscAddress

The SMSC address was not valid.

MessageNotEncodedProperly MessageNotEncodedProperly MessageNotEncodedProperly MessageNotEncodedProperly

The message was not encoded properly.

MessageTooLarge MessageTooLarge MessageTooLarge MessageTooLarge

The message was too large.

MessagingNetworkError MessagingNetworkError MessagingNetworkError MessagingNetworkError

A network error.

NetworkFailure NetworkFailure NetworkFailure NetworkFailure

There was a network failure.

NetworkNotReady NetworkNotReady NetworkNotReady NetworkNotReady

The network was not ready to send SMS.

Other Other Other Other

An unknown error.

SmsOperationNotSupportedByDevice SmsOperationNotSupportedByDevice SmsOperationNotSupportedByDevice SmsOperationNotSupportedByDevice

SMS is not supported by the device.

SmsServiceNotSupportedByNetwork SmsServiceNotSupportedByNetwork SmsServiceNotSupportedByNetwork SmsServiceNotSupportedByNetwork

SMS is not supported by the network.