Table of Contents

Method GetMatchById

Namespace
GuildWars2.Wvw
Assembly
GW2SDK.dll

GetMatchById(string, MissingMemberBehavior, CancellationToken)

Retrieves a WvW match by its ID.

public Task<(Match Value, MessageContext Context)> GetMatchById(string matchId, MissingMemberBehavior missingMemberBehavior = MissingMemberBehavior.Error, CancellationToken cancellationToken = default)

Parameters

matchId string

The match ID.

missingMemberBehavior MissingMemberBehavior

The desired behavior when JSON contains unexpected members.

cancellationToken CancellationToken

A token to cancel the request.

Returns

Task<(Match Value, MessageContext Context)>

A task that represents the API request.