PostSharp 6.9 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics.​Contexts Namespace / Sync­Method­Logging­Context Class / Sync­Method­Logging­Context Constructor

SyncMethodLoggingContext Constructor

Initializes a new SyncMethodLoggingContext.

Namespace:  PostSharp.Patterns.Diagnostics.Contexts
Assembly:  PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: 6.9.11.0 (6.9.11.0)
Syntax
C#
public SyncMethodLoggingContext(
	ThreadLoggingContext threadContext
)

Parameters

threadContext
Type: PostSharp.Patterns.Diagnostics.Contexts.ThreadLoggingContext
Information about the thread to which the new SyncMethodLoggingContext shall belong.
See Also