Edit

Share via


TournamentService.GetTeamsAsync(TeamRequest) Method

Definition

Returns a list of tournaments for the current title.

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

Parameters

request
TeamRequest

A team request object that retrieves team based on the configuration of the request.

Returns

Windows.Foundation.IAsyncOperation<TeamRequestResult>

A list of teams if they exist.

Implements

Microsoft.Xbox.Services.Tournaments.__ITournamentServicePublicNonVirtuals.GetTeamsAsync(Microsoft.Xbox.Services.Tournaments.TeamRequest)

Remarks

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

Applies to