Udostępnij za pośrednictwem


ChatMessageStore.TryCancelDownloadMessageAsync(String) Method

Definition

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

Applies to