Jaa


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

Name Value Description
Other 0

An unknown error.

MessagingNetworkError 1

A network error.

SmsOperationNotSupportedByDevice 2

SMS is not supported by the device.

SmsServiceNotSupportedByNetwork 3

SMS is not supported by the network.

DeviceFailure 4

The device failed.

MessageNotEncodedProperly 5

The message was not encoded properly.

MessageTooLarge 6

The message was too large.

DeviceNotReady 7

The device was not ready to send SMS.

NetworkNotReady 8

The network was not ready to send SMS.

InvalidSmscAddress 9

The SMSC address was not valid.

NetworkFailure 10

There was a network failure.

FixedDialingNumberRestricted 11

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

Applies to