TraceSourceScope(Object) 构造函数

定义

通过调用 StartLogicalOperation(Object),将状态推送到 LogicalOperationStackPushes state onto the LogicalOperationStack by calling StartLogicalOperation(Object)

public:
 TraceSourceScope(System::Object ^ state);
public TraceSourceScope (object state);
new Microsoft.Extensions.Logging.TraceSource.TraceSourceScope : obj -> Microsoft.Extensions.Logging.TraceSource.TraceSourceScope
Public Sub New (state As Object)

参数

state
Object

状态。The state.

适用于