ICallerContextService Interface |
Namespace: Dundas.BI
The ICallerContextService type exposes the following members.
| Name | Description | |
|---|---|---|
| CurrentContext | Gets an object representing the current caller context. | |
| IsMultithreaded |
Gets a value indicating whether the service supports different callers between threads.
| |
| WillCreatedContextBeThreadAgnostic | Gets a value indicating whether a caller context created on the current thread will be thread-agnostic. |
| 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(Action, TimeSpan, CancellationToken) | Runs an action after a specified delay. | |
| QueueBackgroundTaskT(FuncT, TimeSpan, CancellationToken) | Runs an action after a specified delay. | |
| SpawnTaskTResult |
Creates an asynchronous task which inherits the properties of the current caller context.
| |
| TryGetCurrentContext |
Gets the active caller context.
|