Udostępnij za pośrednictwem


ChatMessageStore.GetMessageBySyncIdAsync(String) Method

Definition

Gets a message by the sync ID.

public:
 virtual IAsyncOperation<ChatMessage ^> ^ GetMessageBySyncIdAsync(Platform::String ^ syncId) = GetMessageBySyncIdAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<ChatMessage> GetMessageBySyncIdAsync(winrt::hstring const& syncId);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<ChatMessage> GetMessageBySyncIdAsync(string syncId);
function getMessageBySyncIdAsync(syncId)
Public Function GetMessageBySyncIdAsync (syncId As String) As IAsyncOperation(Of ChatMessage)

Parameters

syncId
String

Platform::String

winrt::hstring

The sync ID of the message.

Returns

When the asynchronous operation completes, a ChatMessage object is returned.

Attributes

Windows requirements

Device family
Windows 10 Anniversary Edition (introduced in 10.0.14393.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced in v3.0)
App capabilities
chat chatSystem smsSend

Applies to