CallerContext Class

Represents the context of the current caller (or lack thereof).
Inheritance Hierarchy
SystemObject
  Dundas.BICallerContext

Namespace:  Dundas.BI
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.3.0.1000)
Syntax
public sealed class CallerContext : IDisposable

The CallerContext type exposes the following members.

Properties
  NameDescription
Public propertyData
Gets a dictionary containing arbitrary data associated with the context.
Public propertyId
Gets the unique ID of the context.
Public propertyIPAddress
Gets or sets the IP address associated with the context.
Public propertyIsThreadAgnostic
Gets a value indicating whether the instance will work across threads without needing to be cloned.
Public propertyParentContextId
Gets the ID of the parent context, which was cloned to create the context represented by this instance.
Public propertySessionId
Gets the ID of the session associated with the current caller.
Public propertySessionlessCulture
Gets or sets the culture that should be associated with the caller if there is no session.
Public propertyWindowsIdentity
Gets or sets the Windows identity associated with the caller.
Top
Methods
  NameDescription
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Public methodSetCurrentSessionId
Sets the ID of the session which should be associated with the context.
Top
Remarks
Although CallerContext instances are thread-safe, any given instance may only be the active caller context a single thread at any given time.
Thread Safety
Static members of this type are safe for multi-threaded operations. Instance members of this type are safe for multi-threaded operations.
See Also