共用方式為


SmsTextMessage.FromBinaryMessage(SmsBinaryMessage) 方法

定義

讀取二進位訊息並將其解碼。 結果會放在文字訊息的新實例中。

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

參數

binaryMessage
SmsBinaryMessage

要解碼的二進位訊息實例。

傳回

新的 SmsTextMessage 物件。

屬性

Windows 需求

應用程式功能
cellularMessaging sms

適用於