LoggerExternalScopeProvider.Push(Object) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
將範圍物件新增至清單。
public:
virtual IDisposable ^ Push(System::Object ^ state);
public IDisposable Push (object state);
public IDisposable Push (object? state);
abstract member Push : obj -> IDisposable
override this.Push : obj -> IDisposable
Public Function Push (state As Object) As IDisposable
參數
- state
- Object
範圍物件。
傳回
在處置時移除範圍的 IDisposable 權杖。