PostSharp 6.10 / / 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: 6.10.14.0 (6.10.14.0)
Syntax
C#
public long GenerateChildContextId()

Return Value

Type: Int64

Implements

IHierarchicalContextIdInfo.GenerateChildContextId()
See Also