TitleCallableUI.ShowGameInviteUIAsync 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.
Shows a picker UI populated from the selected user's friend list and suggested friend list. After selection, the user can send an invitation to play a game and/or party chat for a specified game session to the selected people.
public static Windows.Foundation.IAsyncAction ShowGameInviteUIAsync (Microsoft.Xbox.Services.Multiplayer.MultiplayerSessionReference sessionReference, string contextStringId);
static member ShowGameInviteUIAsync : Microsoft.Xbox.Services.Multiplayer.MultiplayerSessionReference * string -> Windows.Foundation.IAsyncAction
Public Shared Function ShowGameInviteUIAsync (sessionReference As MultiplayerSessionReference, contextStringId As String) As IAsyncAction
Parameters
- sessionReference
- MultiplayerSessionReference
A reference to the multiplayer session to invite people to.
- contextStringId
- String
The custom context string ID. This string ID is defined during Xbox Live ingestion to identify the invitation text that is additional to the standard invitation text. The ID string must be prefixed with "///". Pass an empty string if you don't want a custom string added to the invite.
Returns
An interface for tracking the progress of the asynchronous call. The operation completes when the UI is closed.