Condividi tramite


ChatMessageStore.GetMessageByRemoteIdAsync(String, String) Metodo

Definizione

Ottiene un messaggio in base all'ID remoto.

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)

Parametri

transportId
String

Platform::String

winrt::hstring

TransportId da usare per ottenere ChatMessage.

remoteId
String

Platform::String

winrt::hstring

RemoteIddell'oggetto ChatMessage da recuperare.

Restituisce

Messaggio.

Attributi

Requisiti Windows

Funzionalità dell'app
chat blockedChatMessages chatSystem smsSend

Si applica a