Method GetEmblemBackgroundById
- Namespace
- GuildWars2.Guilds
- Assembly
- GuildWars2.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
backgroundEmblemIdintThe emblem background ID.
missingMemberBehaviorMissingMemberBehaviorThe desired behavior when JSON contains unexpected members.
cancellationTokenCancellationTokenA token to cancel the request.
Returns
- Task<(EmblemBackground Value, MessageContext Context)>
A task that represents the API request.