PostSharp 6.8 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics.​Contexts Namespace / IHierarchical­Context­Id­Info Interface / IHierarchical­Context­Id­Info Properties / IHierarchical­Context­Id­Info.​Context­Id Property

IHierarchicalContextIdInfo.ContextId Property

Gets the ID of the logging context within its parent or globall, according to IdGenerationStrategy.

Namespace:  PostSharp.Patterns.Diagnostics.Contexts
Assembly:  PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: 6.8.6.0 (6.8.6.0)
Syntax
C#
long ContextId { get; }

Property Value

Type: Int64
See Also