Open sandboxFocus

Method CreateSyncMethodContext

CreateSyncMethodContext(ThreadLoggingContext)

Creates a new SyncMethodLoggingContext for a given normal (non-async, non-iterator) method.

Declaration
protected override SyncMethodLoggingContext CreateSyncMethodContext(ThreadLoggingContext threadContext)
Parameters
Type Name Description
ThreadLoggingContext threadContext

The ThreadLoggingContext in which the method is executed.

Returns
Type Description
SyncMethodLoggingContext

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

Overrides