Open this page in the API Guide

ITokenService.ResolveToken Method (Guid, Int32, TokenDisplayTypes)

Resolves the token to display in the UI.

Namespace:  Dundas.BI.Data.Parameters.Tokens
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (25.1.0.1000)
Syntax
string? ResolveToken(
	Guid tokenId,
	int offset,
	TokenDisplayTypes displayType
)

Parameters

tokenId
Type: System.Guid
The token identifier.
offset
Type: System.Int32
The offset.
displayType
Type: Dundas.BI.Data.Parameters.Tokens.TokenDisplayTypes
The display type.

Return Value

Type: String
Resolved value or null if the token is not resolvable.
Exceptions
ExceptionCondition
ArgumentExceptiontokenId is Empty.
NotFoundExceptionThe token referenced by tokenId cannot be found.
InvalidSessionExceptionThe caller context is not associated with a valid session.
See Also