CallerContextService Class

The base class for ICallerContextService implementations.
Inheritance Hierarchy
SystemObject
  Dundas.BI.ServicesCallerContextService
    Dundas.BI.ServicesMultithreadedCallerContextService

Namespace: Dundas.BI.Services
Assembly: Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (26.2.0.1000)
Syntax
public abstract class CallerContextService : ICallerContextService, 
	IDisposable

The CallerContextService type exposes the following members.

Constructors
 NameDescription
Protected methodCallerContextService Initializes a new instance of the CallerContextService class.
Top
Properties
 NameDescription
Public propertyCurrentContextGets an object representing the current caller context.
Public propertyCurrentWindowsIdentityGets the WindowsIdentity associated with the caller.
Public propertyIsMultithreaded Gets a value indicating whether the service supports different callers between threads.
Protected propertyStoredContext Gets or sets the context that is actually stored by a derived class.
Public propertyWillCreatedContextBeThreadAgnosticGets 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 methodCreateAndSetCurrentContextCreates 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 methodDisposePerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Protected methodDispose(Boolean)Releases unmanaged and - optionally - managed resources.
Protected methodFinalize Finalizes an instance of the CallerContextService class.
(Overrides ObjectFinalize)
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 runs with the current caller context.
Public methodTryGetCurrentContext Gets the active caller context.
Top
See Also