Bagikan melalui


SmsTextMessage.FromBinaryMessage(SmsBinaryMessage) Metode

Definisi

Membaca pesan biner dan mendekodenya. Hasilnya ditempatkan dalam instans baru pesan teks.

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

Parameter

binaryMessage
SmsBinaryMessage

Instans pesan biner untuk didekodekan.

Mengembalikan

Objek SmsTextMessage baru.

Atribut

Persyaratan Windows

Kemampuan aplikasi
cellularMessaging sms

Berlaku untuk