Retrieves the latest snapshot of the current chat party.
public:
static IAsyncOperation<PartyChatView^ >^ GetPartyChatViewAsync()
Type: IAsyncOperation<PartyChatView^ >
Returns an IAsyncOperation<TResult> object that represents the state of the asynchronous operation. Completion of the asynchronous operation is signaled by using a handler that is passed to the IAsyncOperation<TResult>.Completed property. When the asynchronous operation is complete, the result of the operation can be retrieved by using the IAsyncOperation<TResult>.GetResults method.
The result of the operation is a PartyChatView object representing the snapshot of the chat party. If there is no party, GetPartyChatViewAsync returns null.
On activation, a title can call GetPartyChatViewAsync through the Party app. It can obtain a view of the chat party, but cannot change it.
Namespace: Windows.Xbox.Multiplayer
Metadata: windows.winmd