MultiplayerService.SetSearchHandleAsync 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.
Creates a search handle associated with the session. The visibility of the session is dependent on its search handle. While you can create an searchable session, it is not queryable and visible to others unless you have the associated search handle committed as well.
public Windows.Foundation.IAsyncAction SetSearchHandleAsync (Microsoft.Xbox.Services.Multiplayer.MultiplayerSearchHandleRequest searchHandleRequest);
abstract member SetSearchHandleAsync : Microsoft.Xbox.Services.Multiplayer.MultiplayerSearchHandleRequest -> Windows.Foundation.IAsyncAction
override this.SetSearchHandleAsync : Microsoft.Xbox.Services.Multiplayer.MultiplayerSearchHandleRequest -> Windows.Foundation.IAsyncAction
Public Function SetSearchHandleAsync (searchHandleRequest As MultiplayerSearchHandleRequest) As IAsyncAction
Parameters
- searchHandleRequest
- MultiplayerSearchHandleRequest
A search handle request object for the associated session
Returns
The async object for notifying when the operation is completed.