Share via


ISmsBinaryMessage.SetData(Byte[]) Method

Definition

Specifies the raw binary payload of the SMS message. It should be formatted according to the protocol description unit (PDU) standard.

public:
 void SetData(Platform::Array <byte> ^ value);
/// [Windows.Foundation.Metadata.Deprecated("SmsBinaryMessage may be altered or unavailable for releases after Windows 10. Instead, use SmsAppMessage.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, Windows.Devices.Sms.LegacySmsApiContract)]
void SetData(winrt::array_view <byte> const& value);
/// [Windows.Foundation.Metadata.Deprecated("SmsBinaryMessage may be altered or unavailable for releases after Windows 10. Instead, use SmsAppMessage.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Devices.Sms.LegacySmsApiContract")]
void SetData(winrt::array_view <byte> const& value);
[Windows.Foundation.Metadata.Deprecated("SmsBinaryMessage may be altered or unavailable for releases after Windows 10. Instead, use SmsAppMessage.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, typeof(Windows.Devices.Sms.LegacySmsApiContract))]
public void SetData(byte[] value);
[Windows.Foundation.Metadata.Deprecated("SmsBinaryMessage may be altered or unavailable for releases after Windows 10. Instead, use SmsAppMessage.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Devices.Sms.LegacySmsApiContract")]
public void SetData(byte[] value);
function setData(value)
Public Sub SetData (value As Byte())

Parameters

value

Byte[]

byte[]

A byte array representing message data, formatted according to the protocol description unit (PDU) standard.

Attributes

Windows requirements

App capabilities
cellularMessaging sms

Applies to