DataSourceCredentialProviderInfoIsContextLinkedToCurrentThread Property

Gets a value indicating whether credential contexts originating from the provider are linked with the thread on which they were created.

Namespace:  Dundas.BI.Data.DataProviders.CredentialProviders
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.3.0.1000)
Syntax
public bool IsContextLinkedToCurrentThread { get; }

Property Value

Type: Boolean
Remarks
A value of for this property means the following for credential contexts originating from the provider:
  • A credential context is linked to the specific thread on which it was created.
  • Only a single credential context from the provider can exist on a specific thread at any given time.
  • If a credential context from the provider already exists on a specific thread, attempting to create another one on the same thread will result in an InvalidOperationException being thrown.
  • A credential context created by the provider must be disposed on the same thread on which it was created.
See Also