TraceSourceScope 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
This type is obsolete and will be removed in a future version. This type is part of TraceSource logger implementation and shouldn't be used directly
提供 IDisposable,代表以 System.Diagnostics LogicalOperationStack 為基礎的邏輯作業範圍。
public ref class TraceSourceScope : IDisposable
public class TraceSourceScope : IDisposable
[System.Obsolete("This type is obsolete and will be removed in a future version. This type is part of TraceSource logger implementation and shouldn't be used directly")]
public class TraceSourceScope : IDisposable
type TraceSourceScope = class
interface IDisposable
[<System.Obsolete("This type is obsolete and will be removed in a future version. This type is part of TraceSource logger implementation and shouldn't be used directly")>]
type TraceSourceScope = class
interface IDisposable
Public Class TraceSourceScope
Implements IDisposable
- 繼承
-
TraceSourceScope
- 屬性
- 實作
建構函式
TraceSourceScope(Object) |
藉由呼叫將狀態推送至 LogicalOperationStack StartLogicalOperation(Object) 。 |
方法
Dispose() |
藉由呼叫,將狀態從 LogicalOperationStack 中取出 StopLogicalOperation() 。 |
Equals(Object) |
判斷指定的物件是否等於目前的物件。 (繼承來源 Object) |
GetHashCode() |
做為預設雜湊函式。 (繼承來源 Object) |
GetType() |
取得目前執行個體的 Type。 (繼承來源 Object) |
MemberwiseClone() |
建立目前 Object 的淺層複製。 (繼承來源 Object) |
ToString() |
傳回代表目前物件的字串。 (繼承來源 Object) |