SmsTextMessage.FromBinaryMessage(SmsBinaryMessage) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
讀取二進位訊息並將其解碼。 結果會放在文字訊息的新實例中。
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
|