NullLogger<T>.BeginScope<TState>(TState) 方法
定义
开始逻辑操作范围。Begins a logical operation scope.
public:
generic <typename TState>
virtual IDisposable ^ BeginScope(TState state);
public IDisposable BeginScope<TState> (TState state);
abstract member BeginScope : 'State -> IDisposable
override this.BeginScope : 'State -> IDisposable
Public Function BeginScope(Of TState) (state As TState) As IDisposable
类型参数
- TState
参数
- state
- TState
返回
一个可释放对象,它在释放时会结束逻辑操作范围。A disposable object that ends the logical operation scope on dispose.