Compartilhar via


SmsReceivedEventDetails.MessageClass Propriedade

Definição

Obtém a classe de mensagem para a mensagem SMS recebida pela tarefa em segundo plano.

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

Valor da propriedade

A classe de mensagem para a mensagem SMS recebida pela tarefa em segundo plano.

Atributos

Requisitos do Windows

Funcionalidades do aplicativo
cellularMessaging sms

Aplica-se a