ChatMessageStore.TryCancelSendMessageAsync(String) 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.
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
|