Share via


Sms.ComposeAsync Method

Definition

Overloads

ComposeAsync()

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

ComposeAsync(SmsMessage)

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

ComposeAsync()

Source:
Sms.shared.cs
Source:
Sms.shared.cs

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

public:
 static System::Threading::Tasks::Task ^ ComposeAsync();
public static System.Threading.Tasks.Task ComposeAsync ();
static member ComposeAsync : unit -> System.Threading.Tasks.Task
Public Shared Function ComposeAsync () As Task

Returns

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

Applies to

ComposeAsync(SmsMessage)

Source:
Sms.shared.cs
Source:
Sms.shared.cs

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

public:
 static System::Threading::Tasks::Task ^ ComposeAsync(Microsoft::Maui::ApplicationModel::Communication::SmsMessage ^ message);
public static System.Threading.Tasks.Task ComposeAsync (Microsoft.Maui.ApplicationModel.Communication.SmsMessage? message);
static member ComposeAsync : Microsoft.Maui.ApplicationModel.Communication.SmsMessage -> System.Threading.Tasks.Task
Public Shared 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