AttributeToken Constructor |
Namespace:
Dundas.BI.Data.Parameters.Tokens
Assembly:
Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (8.0.2.1001)
Syntaxpublic AttributeToken(
Guid customAttributeId,
CompatibleDataTypes compatibleDataType
)
Public Sub New (
customAttributeId As Guid,
compatibleDataType As CompatibleDataTypes
)
public:
AttributeToken(
Guid customAttributeId,
CompatibleDataTypes compatibleDataType
)
new :
customAttributeId : Guid *
compatibleDataType : CompatibleDataTypes -> AttributeTokenParameters
- customAttributeId
- Type: SystemGuid
The ID of custom attribute to associate with the token. - compatibleDataType
- Type: Dundas.BI.Data.ParametersCompatibleDataTypes
The compatible data type.
Exceptions| Exception | Condition |
|---|
| InvalidSessionException | The caller context is not associated with a valid session. |
| ArgumentException | compatibleDataType is invalid or customAttributeId is Empty.
|
| NotFoundException | A custom attribute with the specified ID was not found. |
| DuplicateItemException | There is already a token defined for the specified custom attribute. |
See Also