PostSharp5.0//API Reference/Post­Sharp.​Patterns.​Diagnostics.​Contexts Namespace/Logging­Context Class/Logging­Context Properties/Logging­Context.​Id Property

LoggingContext.Id Property

Gets or set the identifier of the current context. The value can be 0 when no identifier has been generated.

Namespace:  PostSharp.Patterns.Diagnostics.Contexts
Assembly:  PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: 5.0.55.0 (5.0.55.0)
Syntax
C#
public long Id { get; protected set; }

Property Value

Type: Int64
See Also