A Sandcastle Documented Class Library

# ICallerContextService Methods

The ICallerContextService type exposes the following members.

Methods

| Name | Description
--- | --- | ---
| CloneAndSetCurrentContext | Clones the provided caller context and associates it with the current caller.
| CloneAndSetCurrentContextIfRequired | Ensures that the properties of the specified context are associated with the current thread.
| CreateAndSetCurrentContext | Creates a new context object and associates it with the current caller.
| CreateContext | Creates a context object initialized with a session ID.
| DestroyCurrentContext | Disposes the current context (if there is one) and replaces it with a new one.
| QueueBackgroundTask | Runs an action after a specified delay.
| SpawnTask TResult | Creates an asynchronous task which inherits the properties of the current caller context.
| TryGetCurrentContext | Gets the active caller context.

Top
See Also

#### Reference

ICallerContextService Interface
Dundas.BI Namespace