Share via


SmsReceivedEventDetails.MessageClass Property

Definition

Gets the message class for the SMS message received by the background task.

public:
 property SmsMessageClass MessageClass { SmsMessageClass get(); };
/// [get: Windows.Foundation.Metadata.Deprecated("SmsReceivedEventDetails may be altered or unavailable for releases after Windows 10. Instead, use SmsMessageReceivedTriggerDetails.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, Windows.Devices.Sms.LegacySmsApiContract)]
SmsMessageClass MessageClass();
/// [get: Windows.Foundation.Metadata.Deprecated("SmsReceivedEventDetails may be altered or unavailable for releases after Windows 10. Instead, use SmsMessageReceivedTriggerDetails.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Devices.Sms.LegacySmsApiContract")]
SmsMessageClass MessageClass();
public SmsMessageClass MessageClass { [Windows.Foundation.Metadata.Deprecated("SmsReceivedEventDetails may be altered or unavailable for releases after Windows 10. Instead, use SmsMessageReceivedTriggerDetails.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, typeof(Windows.Devices.Sms.LegacySmsApiContract))] get; }
public SmsMessageClass MessageClass { [Windows.Foundation.Metadata.Deprecated("SmsReceivedEventDetails may be altered or unavailable for releases after Windows 10. Instead, use SmsMessageReceivedTriggerDetails.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Devices.Sms.LegacySmsApiContract")] get; }
var smsMessageClass = smsReceivedEventDetails.messageClass;
Public ReadOnly Property MessageClass As SmsMessageClass

Property Value

The message class for the SMS message received by the background task.

Attributes

Windows requirements

App capabilities
cellularMessaging sms

Applies to