Method GetEmblemBackgroundById
- Namespace
- GuildWars2.Guilds
- Assembly
- GW2SDK.dll
GetEmblemBackgroundById(int, MissingMemberBehavior, CancellationToken)
Retrieves an emblem background by its ID.
public Task<(EmblemBackground Value, MessageContext Context)> GetEmblemBackgroundById(int backgroundEmblemId, MissingMemberBehavior missingMemberBehavior = MissingMemberBehavior.Error, CancellationToken cancellationToken = default)
Parameters
backgroundEmblemId
intThe emblem background ID.
missingMemberBehavior
MissingMemberBehaviorThe desired behavior when JSON contains unexpected members.
cancellationToken
CancellationTokenA token to cancel the request.
Returns
- Task<(EmblemBackground Value, MessageContext Context)>
A task that represents the API request.