ChatMessageStore.TryCancelDownloadMessageAsync(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 downloading the specified message.
public:
virtual IAsyncOperation<bool> ^ TryCancelDownloadMessageAsync(Platform::String ^ localChatMessageId) = TryCancelDownloadMessageAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<bool> TryCancelDownloadMessageAsync(winrt::hstring const& localChatMessageId);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<bool> TryCancelDownloadMessageAsync(string localChatMessageId);
function tryCancelDownloadMessageAsync(localChatMessageId)
Public Function TryCancelDownloadMessageAsync (localChatMessageId As String) As IAsyncOperation(Of Boolean)
Parameters
- localChatMessageId
-
String
Platform::String
winrt::hstring
The ID of the message to stop downloading.
Returns
An async action indicating that the operation has completed.
- Attributes
Windows requirements
App capabilities |
chat
chatSystem
smsSend
|