Table of Contents

Method GetDungeonsByIds

Namespace
GuildWars2.Pve.Dungeons
Assembly
GW2SDK.dll

GetDungeonsByIds(IEnumerable<string>, MissingMemberBehavior, CancellationToken)

Retrieves dungeons by their IDs.

public Task<(HashSet<Dungeon> Value, MessageContext Context)> GetDungeonsByIds(IEnumerable<string> dungeonIds, MissingMemberBehavior missingMemberBehavior = MissingMemberBehavior.Error, CancellationToken cancellationToken = default)

Parameters

dungeonIds IEnumerable<string>

The dungeon IDs.

missingMemberBehavior MissingMemberBehavior

The desired behavior when JSON contains unexpected members.

cancellationToken CancellationToken

A token to cancel the request.

Returns

Task<(HashSet<Dungeon> Value, MessageContext Context)>

A task that represents the API request.