Partager via


SmsTextMessage.FromBinaryMessage(SmsBinaryMessage) Méthode

Définition

Lit un message binaire et le décode. Les résultats sont placés dans une nouvelle instance d’un sms.

public:
 static SmsTextMessage ^ FromBinaryMessage(SmsBinaryMessage ^ binaryMessage);
/// [Windows.Foundation.Metadata.Deprecated("ISmsTextMessageStatics may be altered or unavailable for releases after Windows 10.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, Windows.Devices.Sms.LegacySmsApiContract)]
 static SmsTextMessage FromBinaryMessage(SmsBinaryMessage const& binaryMessage);
/// [Windows.Foundation.Metadata.Deprecated("ISmsTextMessageStatics may be altered or unavailable for releases after Windows 10.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Devices.Sms.LegacySmsApiContract")]
 static SmsTextMessage FromBinaryMessage(SmsBinaryMessage const& binaryMessage);
[Windows.Foundation.Metadata.Deprecated("ISmsTextMessageStatics may be altered or unavailable for releases after Windows 10.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, typeof(Windows.Devices.Sms.LegacySmsApiContract))]
public static SmsTextMessage FromBinaryMessage(SmsBinaryMessage binaryMessage);
[Windows.Foundation.Metadata.Deprecated("ISmsTextMessageStatics may be altered or unavailable for releases after Windows 10.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Devices.Sms.LegacySmsApiContract")]
public static SmsTextMessage FromBinaryMessage(SmsBinaryMessage binaryMessage);
function fromBinaryMessage(binaryMessage)
Public Shared Function FromBinaryMessage (binaryMessage As SmsBinaryMessage) As SmsTextMessage

Paramètres

binaryMessage
SmsBinaryMessage

Instance d’un message binaire à décoder.

Retours

Nouvel objet SmsTextMessage .

Attributs

Configuration requise pour Windows

Fonctionnalités de l’application
cellularMessaging sms

S’applique à