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
stringThe match ID.
missingMemberBehavior
MissingMemberBehaviorThe desired behavior when JSON contains unexpected members.
cancellationToken
CancellationTokenA token to cancel the request.
Returns
- Task<(Match Value, MessageContext Context)>
A task that represents the API request.