Share via


ISms.ComposeAsync(SmsMessage) Method

Definition

Opens the default SMS client to allow the user to send the message.

public:
 System::Threading::Tasks::Task ^ ComposeAsync(Microsoft::Maui::ApplicationModel::Communication::SmsMessage ^ message);
public System.Threading.Tasks.Task ComposeAsync (Microsoft.Maui.ApplicationModel.Communication.SmsMessage? message);
abstract member ComposeAsync : Microsoft.Maui.ApplicationModel.Communication.SmsMessage -> System.Threading.Tasks.Task
Public Function ComposeAsync (message As SmsMessage) As Task

Parameters

message
SmsMessage

A SmsMessage instance with information about the message to send.

Returns

A Task object with the current status of the asynchronous operation.

Applies to