ChatMessageManager.GetChatMessageAsync | getChatMessageAsync method
This API is not available to all Windows/Windows Phone apps. Unless your developer account is specially provisioned by Microsoft, calls to these APIs will fail at runtime.
Syntax
chatMessageManager.getChatMessageAsync(localChatMessageId).done( /* Your success and error handlers */ );
public IAsyncOperation<ChatMessage> GetChatMessageAsync(
string localChatMessageId
)
Public Function GetChatMessageAsync(
localChatMessageId As String
) As IAsyncOperation(Of ChatMessage)
public:
IAsyncOperation<ChatMessage>^ GetChatMessageAsync(
String^ localChatMessageId
)
Parameters
localChatMessageId
Type: String [JavaScript] | System.String [.NET] | Platform::String [C++]The local ID of the chat message to be retrieved.
Return value
Type: IAsyncOperation<ChatMessage>
An asynchronous operation that returns a ChatMessage upon successful completion.
Requirements
Minimum supported client |
Windows 8.1 |
Minimum supported server |
Windows Server 2012 R2 |
Minimum supported phone |
Windows Phone 8.1 |
Namespace |
Windows.ApplicationModel.Chat Windows::ApplicationModel::Chat [C++] |
Metadata |
Windows.winmd |