AttributeToken Constructor

Initializes a new instance of the AttributeToken class.

Namespace:  Dundas.BI.Data.Parameters.Tokens
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (10.0.0.1002)
Syntax
public AttributeToken(
	Guid customAttributeId,
	CompatibleDataTypes compatibleDataType
)

Parameters

customAttributeId
Type: SystemGuid
The ID of custom attribute to associate with the token.
compatibleDataType
Type: Dundas.BI.Data.ParametersCompatibleDataTypes
The compatible data type.
Exceptions
ExceptionCondition
InvalidSessionExceptionThe caller context is not associated with a valid session.
ArgumentExceptioncompatibleDataType is invalid or customAttributeId is Empty.
NotFoundExceptionA custom attribute with the specified ID was not found.
DuplicateItemExceptionThere is already a token defined for the specified custom attribute.
See Also