PostSharp 6.8 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics.​Contexts Namespace / IHierarchical­Context­Id­Info Interface / IHierarchical­Context­Id­Info Methods / IHierarchical­Context­Id­Info.​Generate­Child­Context­Id Method

IHierarchicalContextIdInfo.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.8.6.0 (6.8.6.0)
Syntax
C#
long GenerateChildContextId()

Return Value

Type: Int64
See Also