WebCallerContextService Class

Implementation of ICallerContextService for ASP.NET web sites.
Inheritance Hierarchy

Namespace:  Dundas.BI.WebApi
Assembly:  Dundas.BI.WebApi (in Dundas.BI.WebApi.dll) Version: 2.0.0.0 (24.3.0.1000)
Syntax
public class WebCallerContextService : MultithreadedCallerContextService

The WebCallerContextService type exposes the following members.

Constructors
  NameDescription
Public methodWebCallerContextService
Initializes a new instance of the WebCallerContextService class
Top
Properties
  NameDescription
Public propertyCurrentContext
Gets an object representing the current caller context.
(Inherited from CallerContextService.)
Public propertyCurrentWindowsIdentity
Gets the WindowsIdentity associated with the caller.
(Overrides CallerContextServiceCurrentWindowsIdentity.)
Public propertyIsMultithreaded
Gets a value indicating whether the service supports different callers between threads.
(Inherited from MultithreadedCallerContextService.)
Protected propertyStoredContext
Gets or sets the context that is actually stored by a derived class.
(Overrides MultithreadedCallerContextServiceStoredContext.)
Public propertyWillCreatedContextBeThreadAgnostic
Gets a value indicating whether a caller context created on the current thread will be thread-agnostic.
(Overrides CallerContextServiceWillCreatedContextBeThreadAgnostic.)
Top
Methods
  NameDescription
Public methodStatic memberAutoDetectApplicationUri
This method attempts to get the application URI from the current request, if possible.
Public methodCloneAndSetCurrentContext
Clones the provided caller context and associates it with the current caller.
(Inherited from CallerContextService.)
Public methodCloneAndSetCurrentContextIfRequired
Ensures that the properties of the specified context are associated with the current thread.
(Inherited from CallerContextService.)
Public methodCreateAndSetCurrentContext
Creates a new context object and associates it with the current caller.
(Inherited from CallerContextService.)
Public methodCreateContext
Creates a context object initialized with a session ID.
(Inherited from CallerContextService.)
Public methodDestroyCurrentContext
Disposes the current context (if there is one) and replaces it with a new one.
(Inherited from CallerContextService.)
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from CallerContextService.)
Protected methodDispose(Boolean)
Releases unmanaged and - optionally - managed resources.
(Overrides MultithreadedCallerContextServiceDispose(Boolean).)
Protected methodFinalize
Finalizes an instance of the CallerContextService class.
(Inherited from CallerContextService.)
Public methodQueueBackgroundTask(Action, TimeSpan, CancellationToken)
Runs an action after a specified delay.
(Inherited from CallerContextService.)
Public methodQueueBackgroundTaskT(FuncT, TimeSpan, CancellationToken)
Runs an action after a specified delay.
(Inherited from CallerContextService.)
Protected methodSetContextAsThreadAgnostic
Marks the specified context as thread agnostic.
(Inherited from MultithreadedCallerContextService.)
Public methodSpawnTaskTResult
Creates an asynchronous task which inherits the properties of the current caller context.
(Inherited from CallerContextService.)
Public methodTryGetCurrentContext
Gets the active caller context.
(Inherited from CallerContextService.)
Top
See Also