ChatMessageStore.TryCancelDownloadMessageAsync(String) 方法

定义

异步尝试取消下载指定的消息。

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)

参数

localChatMessageId
String

Platform::String

winrt::hstring

要停止下载的消息的 ID。

返回

指示操作已完成的异步操作。

属性

Windows 要求

应用功能
chat chatSystem smsSend

适用于