PostSharpAPI ReferencePost­Sharp.​Patterns.​Diagnostics.​Backends.​MultiplexerMultiplexer­BackendCreate­Sync­Custom­Activity­Context
Open sandboxFocus

MultiplexerBackend.CreateSyncCustomActivityContext Method

CreateSyncCustomActivityContext(ThreadLoggingContext)

Declaration
protected override 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.

Overrides
LoggingBackend.CreateSyncCustomActivityContext(ThreadLoggingContext)