SmsModemErrorCode Enum

Definition

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

public enum class SmsModemErrorCode
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class SmsModemErrorCode
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum SmsModemErrorCode
var value = Windows.Devices.Sms.SmsModemErrorCode.other
Public Enum SmsModemErrorCode
Inheritance
SmsModemErrorCode
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

Fields

DeviceFailure 4

The device failed.

DeviceNotReady 7

The device was not ready to send SMS.

FixedDialingNumberRestricted 11

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

InvalidSmscAddress 9

The SMSC address was not valid.

MessageNotEncodedProperly 5

The message was not encoded properly.

MessageTooLarge 6

The message was too large.

MessagingNetworkError 1

A network error.

NetworkFailure 10

There was a network failure.

NetworkNotReady 8

The network was not ready to send SMS.

Other 0

An unknown error.

SmsOperationNotSupportedByDevice 2

SMS is not supported by the device.

SmsServiceNotSupportedByNetwork 3

SMS is not supported by the network.

Applies to