ISmsDevice.SendMessageAsync(ISmsMessage) ISmsDevice.SendMessageAsync(ISmsMessage) ISmsDevice.SendMessageAsync(ISmsMessage) ISmsDevice.SendMessageAsync(ISmsMessage) ISmsDevice.SendMessageAsync(ISmsMessage) Method

Definition

Asynchronously sends a message using the SMS device. The method is asynchronous because the send operation might not occur instantaneously. The asynchronous operation object is returned immediately.

public : SendSmsMessageOperation SendMessageAsync(ISmsMessage message)
SendSmsMessageOperation SendMessageAsync(ISmsMessage message) const;
public SendSmsMessageOperation SendMessageAsync(ISmsMessage message)
Public Function SendMessageAsync(message As ISmsMessage) As SendSmsMessageOperation
Windows.Devices.Sms.ISmsDevice.sendMessageAsync(message).done( /* Your success and error handlers */ );

Parameters

message
ISmsMessage ISmsMessage ISmsMessage

A reference to an SmsMessage object. The message can be in text or binary format.

Returns

A reference to an SendSmsMessageOperation object that supports asynchronous message sending.

Additional features and requirements

Capabilities
sms cellularMessaging