TraceSourceScope(Object) 构造函数

定义

通过调用 StartLogicalOperation(Object)将状态推送到 LogicalOperationStack 上。

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

状态。

适用于