PartyChat.GetPartyChatViewAsync Method

Retrieves the latest snapshot of the current chat party.

Syntax

public:
static IAsyncOperation<PartyChatView^ >^ GetPartyChatViewAsync()  

Return value

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.

Remarks

On activation, a title can call GetPartyChatViewAsync through the Party app. It can obtain a view of the chat party, but cannot change it.

Requirements

Namespace: Windows.Xbox.Multiplayer

Metadata: windows.winmd

See also

Reference

PartyChat Class

PartyChat Members

Windows.Xbox.Multiplayer Namespace