PartyChat.ShowPartyAndSendPartyInvitesAsync Method

Displays the Guide Party tab, creates a party if one is not already initiated, and then sends party invites.

Syntax

public HRESULT ShowPartyAndSendPartyInvitesAsync (
         IUser *requestingUser,
         IReadOnlyList<HSTRING> *recipientUserIdList,
         out IAsyncOperation **asyncAction
)  

Parameters

requestingUser
Type: IUser *

User who wants to send party invites.

recipientUserIdList
Type: IVectorView<HSTRING> *

List of users to invite to the party.

asyncAction
Type: IAsyncOperation **

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.

Return value

Type: HRESULT 

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Namespace: Windows.Xbox.Multiplayer

Metadata: windows.winmd

Header: Declared in windows.xbox.multiplayer.h.

See also

Reference

SystemUI Class

SystemUI Members

Windows.Xbox.UI Namespace