CallContext Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
An opaque context used to store work when working with authentication artifacts.
public class CallContext : Microsoft.IdentityModel.Logging.LoggerContext
type CallContext = class
inherit LoggerContext
Public Class CallContext
Inherits LoggerContext
- Inheritance
- Derived
Constructors
CallContext() |
Instantiates a new CallContext with a default activity identifier. |
CallContext(Guid) |
Instantiates a new CallContext with an activity identifier. |
Properties
ActivityId |
Gets or set a Guid that will be used in the call to EventSource.SetCurrentThreadActivityId before logging. (Inherited from LoggerContext) |
CaptureLogs |
Gets or sets a boolean controlling if logs are written into the context. Useful when debugging. (Inherited from LoggerContext) |
DebugId |
Gets or sets a string that helps with setting breakpoints when debugging. (Inherited from LoggerContext) |
Logs |
The collection of logs associated with a request. Use CaptureLogs to control capture. (Inherited from LoggerContext) |
PropertyBag |
Gets or sets an IDictionary<TKey,TValue> that enables custom extensibility scenarios. (Inherited from LoggerContext) |