PostSharp 2023.0 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics.​Contexts Namespace / Logging­Execution­Context­Data Class / Logging­Execution­Context­Data Methods / Logging­Execution­Context­Data.​Generate­Child­Context­Id Method

LoggingExecutionContextData.GenerateChildContextId Method

Returns a new child identifier that it unique within the current parent.

Namespace:  PostSharp.Patterns.Diagnostics.Contexts
Assembly:  PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: 2023.0.3.0 (2023.0.3.0)
Syntax
C#
public long GenerateChildContextId()

Return Value

Type: Int64

Implements

IHierarchicalContextIdInfo.GenerateChildContextId()
See Also