PostSharpAPI ReferencePost­Sharp.​Patterns.​DiagnosticsLogging­BackendCreate­Sync­Custom­Activity­Context
Open sandboxFocus

LoggingBackend.CreateSyncCustomActivityContext Method

CreateSyncCustomActivityContext(ThreadLoggingContext)

Declaration
protected virtual SyncCustomActivityLoggingContext CreateSyncCustomActivityContext(ThreadLoggingContext threadContext)
Parameters
Type Name Description
ThreadLoggingContext threadContext

The ThreadLoggingContext in which the SyncCustomActivityLoggingContext will be used.

Returns
Type Description
SyncCustomActivityLoggingContext

A new SyncCustomActivityLoggingContext to be used only in the thread of threadContext.