TraceLoggingService 類別
表示追蹤記錄器服務。
繼承階層架構
System.Object
Microsoft.VisualStudio.IntelliTrace.TraceLoggingService
命名空間: Microsoft.VisualStudio.IntelliTrace
組件: Microsoft.IntelliTrace.11.0.0 (在 Microsoft.IntelliTrace.11.0.0.dll 中)
語法
'宣告
Public NotInheritable Class TraceLoggingService _
Implements IDisposable
public sealed class TraceLoggingService : IDisposable
public ref class TraceLoggingService sealed : IDisposable
[<Sealed>]
type TraceLoggingService =
class
interface IDisposable
end
public final class TraceLoggingService implements IDisposable
TraceLoggingService 型別會公開下列成員。
建構函式
名稱 | 說明 | |
---|---|---|
TraceLoggingService() | 在目前處理序中建立追蹤記錄器服務的執行個體。 | |
TraceLoggingService(TraceLoggingService.GetPropertyDelegate) | 在目前處理序中建立追蹤記錄器服務的執行個體。 |
回頁首
屬性
名稱 | 說明 | |
---|---|---|
ExpectedProcesses | 取得需要的處理序的作用中清單 | |
TraceLoggingSessions | 取得使用中追蹤記錄工作階段的集合快照。 |
回頁首
方法
名稱 | 說明 | |
---|---|---|
BeginStart | 啟動服務的非同步啟動。 | |
BeginStop | 開始服務的非同步停止。 | |
Dispose | 處置這個物件,如果服務正在執行則將其停止。 | |
EndStart | 等候暫止的非同步啟動完成。 | |
EndStop | 等候暫止的非同步停止完成。 | |
Equals | 判斷指定的物件是否等於目前物件。 (繼承自 Object)。 | |
GetHashCode | 做為特定型別的雜湊函式。 (繼承自 Object)。 | |
GetType | 取得目前執行個體的 Type。 (繼承自 Object)。 | |
Start | 啟動服務。 | |
Stop | 停止服務。 | |
ToString | 傳回表示目前物件的字串。 (繼承自 Object)。 |
回頁首
事件
名稱 | 說明 | |
---|---|---|
Activity | 活動事件。通知呼叫端有關伺服器活動。 | |
ExceptionEvent | 例外狀況事件,這會在例外狀況事件從受監視處理序寫入時呼叫。 |
回頁首
執行緒安全
這個型別的任何 Public static (在 Visual Basic 中為 Shared) 成員都具備執行緒安全。不保證任何執行個體成員是安全執行緒。