Table of Contents

Method GetRaidById

Namespace
GuildWars2.Pve.Raids
Assembly
GW2SDK.dll

GetRaidById(string, MissingMemberBehavior, CancellationToken)

Retrieves a raid by its ID.

public Task<(Raid Value, MessageContext Context)> GetRaidById(string raidId, MissingMemberBehavior missingMemberBehavior = MissingMemberBehavior.Error, CancellationToken cancellationToken = default)

Parameters

raidId string

The raid ID.

missingMemberBehavior MissingMemberBehavior

The desired behavior when JSON contains unexpected members.

cancellationToken CancellationToken

A token to cancel the request.

Returns

Task<(Raid Value, MessageContext Context)>

A task that represents the API request.