Edit

Share via


TournamentService.GetTournamentsAsync(TournamentRequest) Method

Definition

Returns a list of tournaments for the current title.

public Windows.Foundation.IAsyncOperation<Microsoft.Xbox.Services.Tournaments.TournamentRequestResult> GetTournamentsAsync (Microsoft.Xbox.Services.Tournaments.TournamentRequest request);
abstract member GetTournamentsAsync : Microsoft.Xbox.Services.Tournaments.TournamentRequest -> Windows.Foundation.IAsyncOperation<Microsoft.Xbox.Services.Tournaments.TournamentRequestResult>
override this.GetTournamentsAsync : Microsoft.Xbox.Services.Tournaments.TournamentRequest -> Windows.Foundation.IAsyncOperation<Microsoft.Xbox.Services.Tournaments.TournamentRequestResult>
Public Function GetTournamentsAsync (request As TournamentRequest) As IAsyncOperation(Of TournamentRequestResult)

Parameters

request
TournamentRequest

A tournament request object that retrieves tournaments based on the configuration of the request.

Returns

Windows.Foundation.IAsyncOperation<TournamentRequestResult>

A list of tournaments if they exist.

Implements

Microsoft.Xbox.Services.Tournaments.__ITournamentServicePublicNonVirtuals.GetTournamentsAsync(Microsoft.Xbox.Services.Tournaments.TournamentRequest)

Remarks

Returns a concurrency::task{T} object that represents the state of the asynchronous operation. This method calls GET /tournaments

Applies to