CallerContextService Class |
Namespace: Dundas.BI.Services
The CallerContextService type exposes the following members.
| Name | Description | |
|---|---|---|
| CallerContextService |
Initializes a new instance of the CallerContextService class.
|
| Name | Description | |
|---|---|---|
| CurrentContext | Gets an object representing the current caller context. | |
| CurrentWindowsIdentity | Gets the WindowsIdentity associated with the caller. | |
| IsMultithreaded |
Gets a value indicating whether the service supports different callers between threads.
| |
| StoredContext |
Gets or sets the context that is actually stored by a derived class.
| |
| 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.
| |
| Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. | |
| Dispose(Boolean) | Releases unmanaged and - optionally - managed resources. | |
| Finalize |
Finalizes an instance of the CallerContextService class.
(Overrides ObjectFinalize.) | |
| 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.
|