LoggingBackend.CreateSyncCustomActivityContext Method |
Creates a new SyncCustomActivityLoggingContext.
Namespace: PostSharp.Patterns.Diagnostics
Assembly: PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: 6.8.6.0 (6.8.6.0)
C#
protected virtual SyncCustomActivityLoggingContext CreateSyncCustomActivityContext( ThreadLoggingContext threadContext )
Parameters
- threadContext
- Type: PostSharp.Patterns.Diagnostics.Contexts.ThreadLoggingContext
The ThreadLoggingContext in which the SyncCustomActivityLoggingContext will be used.
Return Value
Type: SyncCustomActivityLoggingContextA new SyncCustomActivityLoggingContext to be used only in the thread of threadContext.