Partager via


SmsReceivedEventDetails.MessageClass Propriété

Définition

Obtient la classe de message pour le message SMS reçu par la tâche en arrière-plan.

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

Valeur de propriété

Classe de message pour le message SMS reçu par la tâche en arrière-plan.

Attributs

Configuration requise pour Windows

Fonctionnalités de l’application
cellularMessaging sms

S’applique à