Condividi tramite


SmsMessageReceivedEventArgs.TextMessage Proprietà

Definizione

Recupera un oggetto che contiene la rappresentazione di testo del messaggio. Se il messaggio non viene decodificato correttamente, viene restituito un errore.

public:
 property SmsTextMessage ^ TextMessage { SmsTextMessage ^ get(); };
/// [get: Windows.Foundation.Metadata.Deprecated("SmsMessageReceivedEventArgs may be altered or unavailable for releases after Windows 10.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, Windows.Devices.Sms.LegacySmsApiContract)]
SmsTextMessage TextMessage();
/// [get: Windows.Foundation.Metadata.Deprecated("SmsMessageReceivedEventArgs may be altered or unavailable for releases after Windows 10.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Devices.Sms.LegacySmsApiContract")]
SmsTextMessage TextMessage();
public SmsTextMessage TextMessage { [Windows.Foundation.Metadata.Deprecated("SmsMessageReceivedEventArgs may be altered or unavailable for releases after Windows 10.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, typeof(Windows.Devices.Sms.LegacySmsApiContract))] get; }
public SmsTextMessage TextMessage { [Windows.Foundation.Metadata.Deprecated("SmsMessageReceivedEventArgs may be altered or unavailable for releases after Windows 10.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Devices.Sms.LegacySmsApiContract")] get; }
var smsTextMessage = smsMessageReceivedEventArgs.textMessage;
Public ReadOnly Property TextMessage As SmsTextMessage

Valore della proprietà

Nuovo oggetto SmsTextMessage .

Attributi

Requisiti Windows

Funzionalità dell'app
cellularMessaging sms

Si applica a