SystemUI.ShowCreateLookingForGroupAsync Method

Opens a dialog to create a Looking for Group (LFG) post for the title.

Syntax

public:
static IAsyncAction^ ShowCreateLookingForGroupAsync(
    IUser^ requestingUser, 
    IReadOnlyList<String^>^ preselectedTags, 
    String^ preselectedDescription, 
    unsigned int defaultNeedCount)  

Parameters

requestingUser
Type: Windows::Xbox::System::IUser^

The user initiating the action, and the host of the LFG.

preselectedTags
Type: System::Collections::Generic::IReadOnlyList<System::String^>^

The tags that will already be selected in the LFG (though the user may manually remove these).

preselectedDescription
Type: System::String^

The description already supplied for the LFG (though the user may edit or remove this).

defaultNeedCount
Type: unsigned int

The number of players needed for the LFG (though the user may change this).

Return value

Type: Windows::Foundation::IAsyncAction^

Returns an IAsyncAction 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 IAsyncAction.Completed property.

Requirements

Namespace: Windows.Xbox.UI

Metadata: windows.winmd

Remarks

This method displays a dialog to create a Looking for Group post. The displayed user interface looks like the following:

The strings passed into the preselectedTags parameter must obey the following rules:

Otherwise, the method will return E_INVALIDARG.

See also

Reference

SystemUI Class

SystemUI Members

Windows.Xbox.UI Namespace