Share via


SmsTextMessage.FromBinaryMessage(SmsBinaryMessage) Method

Definition

Reads a binary message and decodes it. The results are placed in a new instance of a text message.

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

Parameters

binaryMessage
SmsBinaryMessage

An instance of a binary message to decode.

Returns

A new SmsTextMessage object.

Attributes

Windows requirements

App capabilities
cellularMessaging sms

Applies to