MultithreadedCallerContextService Methods

The MultithreadedCallerContextService type exposes the following members.

Methods
  NameDescription
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 CallerContextServiceDispose(Boolean).)
Protected methodFinalize
Finalizes an instance of the CallerContextService class.
(Inherited from CallerContextService.)
Public methodQueueBackgroundTask
Runs an action after a specified delay.
(Inherited from CallerContextService.)
Protected methodSetContextAsThreadAgnostic
Marks the specified context as thread agnostic.
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