Table of Contents

Method GetDungeons

Namespace
GuildWars2.Pve.Dungeons
Assembly
GW2SDK.dll

GetDungeons(MissingMemberBehavior, CancellationToken)

Retrieves all dungeons.

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

Parameters

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.