Udostępnij za pośrednictwem


ChatMessageStore.TryCancelSendMessageAsync(String) Method

Definition

Asynchronously attempts to cancel sending the specified message.

public:
 virtual IAsyncOperation<bool> ^ TryCancelSendMessageAsync(Platform::String ^ localChatMessageId) = TryCancelSendMessageAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<bool> TryCancelSendMessageAsync(winrt::hstring const& localChatMessageId);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<bool> TryCancelSendMessageAsync(string localChatMessageId);
function tryCancelSendMessageAsync(localChatMessageId)
Public Function TryCancelSendMessageAsync (localChatMessageId As String) As IAsyncOperation(Of Boolean)

Parameters

localChatMessageId
String

Platform::String

winrt::hstring

The ID of the message to stop sending.

Returns

An async action indicating that the operation has completed.

Attributes

Windows requirements

App capabilities
chat chatSystem smsSend

Applies to