ChatMessageStore.GetMessageByRemoteIdAsync(String, String) 方法

定義

依其遠端識別碼取得訊息。

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

參數

transportId
String

Platform::String

winrt::hstring

用來取得ChatMessageTransportId

remoteId
String

Platform::String

winrt::hstring

要擷取之ChatMessageRemoteId

傳回

訊息。

屬性

Windows 需求

應用程式功能
chat blockedChatMessages chatSystem smsSend

適用於