ChatMessageStore.GetConversationAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GetConversationAsync(String) |
Asynchronously gets a ChatConversation by ID. |
GetConversationAsync(String, IIterable<String>) |
Asynchronously gets a ChatConversation by ID using the specified transports. |
GetConversationAsync(String)
Asynchronously gets a ChatConversation by ID.
public:
virtual IAsyncOperation<ChatConversation ^> ^ GetConversationAsync(Platform::String ^ conversationId) = GetConversationAsync;
/// [Windows.Foundation.Metadata.Overload("GetConversationAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<ChatConversation> GetConversationAsync(winrt::hstring const& conversationId);
[Windows.Foundation.Metadata.Overload("GetConversationAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<ChatConversation> GetConversationAsync(string conversationId);
function getConversationAsync(conversationId)
Public Function GetConversationAsync (conversationId As String) As IAsyncOperation(Of ChatConversation)
Parameters
- conversationId
-
String
Platform::String
winrt::hstring
The ID of the conversation to retrieve.
Returns
The ChatConversation specified by the conversationId parameter.
- Attributes
Windows requirements
App capabilities |
chat
chatSystem
smsSend
|
See also
Applies to
GetConversationAsync(String, IIterable<String>)
Asynchronously gets a ChatConversation by ID using the specified transports.
public:
virtual IAsyncOperation<ChatConversation ^> ^ GetConversationAsync(Platform::String ^ conversationId, IIterable<Platform::String ^> ^ transportIds) = GetConversationAsync;
/// [Windows.Foundation.Metadata.Overload("GetConversationForTransportsAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<ChatConversation> GetConversationAsync(winrt::hstring const& conversationId, IIterable<winrt::hstring> const& transportIds);
[Windows.Foundation.Metadata.Overload("GetConversationForTransportsAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<ChatConversation> GetConversationAsync(string conversationId, IEnumerable<string> transportIds);
function getConversationAsync(conversationId, transportIds)
Public Function GetConversationAsync (conversationId As String, transportIds As IEnumerable(Of String)) As IAsyncOperation(Of ChatConversation)
Parameters
- conversationId
-
String
Platform::String
winrt::hstring
The ID of the conversation to retrieve.
The IDs of the transports to use to retrieve the ChatConversation.
Returns
The ChatConversation specified by the conversationId parameter.
- Attributes
Windows requirements
App capabilities |
chat
chatSystem
smsSend
|