Table of Contents

Method GetEmblemForegroundById

Namespace
GuildWars2.Guilds
Assembly
GW2SDK.dll

GetEmblemForegroundById(int, MissingMemberBehavior, CancellationToken)

Retrieves an emblem foreground by its ID.

public Task<(EmblemForeground Value, MessageContext Context)> GetEmblemForegroundById(int emblemForegroundId, MissingMemberBehavior missingMemberBehavior = MissingMemberBehavior.Error, CancellationToken cancellationToken = default)

Parameters

emblemForegroundId int

The emblem foreground ID.

missingMemberBehavior MissingMemberBehavior

The desired behavior when JSON contains unexpected members.

cancellationToken CancellationToken

A token to cancel the request.

Returns

Task<(EmblemForeground Value, MessageContext Context)>

A task that represents the API request.