ISms.ComposeAsync(SmsMessage) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.