ChatMessageStore.CancelMessageUploadAsync | cancelMessageUploadAsync method
[Some information relates to pre-released product which may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.]
Asynchronously cancels uploading the specified message.
Syntax
chatMessageStore.cancelMessageUploadAsync(localChatMessageId).done( /* Your success and error handlers */ );
public IAsyncAction CancelMessageUploadAsync(
string localChatMessageId
)
Public Function CancelMessageUploadAsync(
localChatMessageId As String
) As IAsyncAction
public:
IAsyncAction^ CancelMessageUploadAsync(
String^ localChatMessageId
)
Parameters
localChatMessageId
Type: String [JavaScript] | System.String [.NET] | Platform::String [C++]The ID of the message to stop uploading.
Return value
Type: IAsyncAction
An async action indicating that the operation has completed.
Requirements (device family)
Device family |
Universal |
API contract |
windows.foundation.universalapicontract, introduced version 1.0 |
Namespace |
Windows.ApplicationModel.Chat Windows::ApplicationModel::Chat [C++] |
Metadata |
windows.foundation.universalapicontract.winmd |