ICallerContextService Interface

Provides a means for the Engine to determine which session should be used for currently-executing code.

Namespace:  Dundas.BI
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.4.0.1000)
Syntax
public interface ICallerContextService

The ICallerContextService type exposes the following members.

Properties
  NameDescription
Public propertyCurrentContext
Gets an object representing the current caller context.
Public propertyIsMultithreaded
Gets a value indicating whether the service supports different callers between threads.
Public propertyWillCreatedContextBeThreadAgnostic
Gets a value indicating whether a caller context created on the current thread will be thread-agnostic.
Top
Methods
  NameDescription
Public methodCloneAndSetCurrentContext
Clones the provided caller context and associates it with the current caller.
Public methodCloneAndSetCurrentContextIfRequired
Ensures that the properties of the specified context are associated with the current thread.
Public methodCreateAndSetCurrentContext
Creates a new context object and associates it with the current caller.
Public methodCreateContext
Creates a context object initialized with a session ID.
Public methodDestroyCurrentContext
Disposes the current context (if there is one) and replaces it with a new one.
Public methodQueueBackgroundTask(Action, TimeSpan, CancellationToken)
Runs an action after a specified delay.
Public methodQueueBackgroundTaskT(FuncT, TimeSpan, CancellationToken)
Runs an action after a specified delay.
Public methodSpawnTaskTResult
Creates an asynchronous task which inherits the properties of the current caller context.
Public methodTryGetCurrentContext
Gets the active caller context.
Top
See Also