CredentialContextExecute Method (Action)

Executes the provided delegate under the context of the credentials.

Namespace:  Dundas.BI.Data.DataRetrieval
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.4.0.1000)
Syntax
public virtual void Execute(
	Action action
)

Parameters

action
Type: SystemAction
The Action to run.
Exceptions
ExceptionCondition
ArgumentNullExceptionaction is .
Remarks
If IsContextLinkedToCurrentThread is for the corresponding credential provider, any code which needs to be run under the context of the credentials must be done so using this method or one of its overloads.
See Also