OrdinalEvent 類別
說明在相對於其他序數事件的時間,已排序的事件。
繼承階層架構
System.Object
Microsoft.VisualStudio.IntelliTrace.IntelliTraceEvent
Microsoft.VisualStudio.IntelliTrace.OrdinalEvent
其他...
命名空間: Microsoft.VisualStudio.IntelliTrace
組件: Microsoft.IntelliTrace.11.0.0 (在 Microsoft.IntelliTrace.11.0.0.dll 中)
語法
'宣告
Public Class OrdinalEvent _
Inherits IntelliTraceEvent _
Implements IComparable, IComparer(Of OrdinalEvent), _
IComparable(Of OrdinalEvent)
public class OrdinalEvent : IntelliTraceEvent,
IComparable, IComparer<OrdinalEvent>, IComparable<OrdinalEvent>
public ref class OrdinalEvent : public IntelliTraceEvent,
IComparable, IComparer<OrdinalEvent^>, IComparable<OrdinalEvent^>
type OrdinalEvent =
class
inherit IntelliTraceEvent
interface IComparable
interface IComparer<OrdinalEvent>
interface IComparable<OrdinalEvent>
end
public class OrdinalEvent extends IntelliTraceEvent implements IComparable, IComparer<OrdinalEvent>, IComparable<OrdinalEvent>
OrdinalEvent 型別會公開下列成員。
建構函式
名稱 | 說明 | |
---|---|---|
OrdinalEvent | 初始化 OrdinalEvent 類別的新執行個體。 |
回頁首
屬性
名稱 | 說明 | |
---|---|---|
Ordinal | 取得或設定的序數值。 |
回頁首
方法
名稱 | 說明 | |
---|---|---|
Compare | 比較與另一個執行個體的一個執行個體,並且傳回一個整數,指出是否目前執行個體前面,後面,或以相同的排序位置順序,與其他執行個體,就會發生。 | |
CompareTo(Object) | 比較目前的執行個體與另一個執行個體,並且傳回一個整數,指出目前的執行個體之前、 之後或在與其他執行個體在排序次序的同一位置,就會發生。 | |
CompareTo(OrdinalEvent) | 比較目前的執行個體與另一個執行個體,並且傳回一個整數,指出是否目前執行個體前面,後面,或在相同的排序位置與其他執行個體,就會發生。 | |
Equals(Object) | 判斷指定的物件是否等於目前的 OrdinalEvent。 (覆寫 Object.Equals(Object)。) | |
Equals(OrdinalEvent, OrdinalEvent) | 決定是否指定OrdinalEvents 視為相等。 | |
Finalize | 允許物件在記憶體回收進行回收之前,嘗試釋放資源並執行其他清除作業。 (繼承自 Object)。 | |
GetHashCode | 取得這個 OrdinalEvent 的雜湊程式碼。 (覆寫 Object.GetHashCode()。) | |
GetType | 取得目前執行個體的 Type。 (繼承自 Object)。 | |
MemberwiseClone | 建立目前 Object 的淺層複本 (Shallow Copy)。 (繼承自 Object)。 | |
ToString | 傳回表示目前物件的字串。 (繼承自 Object)。 |
回頁首
運算子
名稱 | 說明 | |
---|---|---|
Equality | 判斷是否有兩個OrdinalEvents 視為相等。 | |
GreaterThan | 決定是否先OrdinalEvent會被視為大於第二個。 | |
Inequality | 判斷是否有兩個OrdinalEvents 視為不相等。 | |
LessThan | 決定是否先OrdinalEvent會視為小於第二個。 |
回頁首
備註
最記錄的事件是OrdinalEvents。
執行緒安全
這個型別的任何 Public static (在 Visual Basic 中為 Shared) 成員都具備執行緒安全。不保證任何執行個體成員是安全執行緒。
請參閱
參考
Microsoft.VisualStudio.IntelliTrace 命名空間
繼承階層架構
System.Object
Microsoft.VisualStudio.IntelliTrace.IntelliTraceEvent
Microsoft.VisualStudio.IntelliTrace.OrdinalEvent
Microsoft.VisualStudio.IntelliTrace.CallSiteEvent
Microsoft.VisualStudio.IntelliTrace.CollectionPlanEvent
Microsoft.VisualStudio.IntelliTrace.DataRequestedEvent
Microsoft.VisualStudio.IntelliTrace.DebuggerInteractionEvent
Microsoft.VisualStudio.IntelliTrace.DiagnosticEvent
Microsoft.VisualStudio.IntelliTrace.ExceptionEvent
Microsoft.VisualStudio.IntelliTrace.ExceptionThrownEvent
Microsoft.VisualStudio.IntelliTrace.IntelliTraceTokenEvent
Microsoft.VisualStudio.IntelliTrace.MethodEnterEvent
Microsoft.VisualStudio.IntelliTrace.MethodExitEvent
Microsoft.VisualStudio.IntelliTrace.ModuleIsUserCodeEvent
Microsoft.VisualStudio.IntelliTrace.ModuleLoadEvent
Microsoft.VisualStudio.IntelliTrace.ModuleUnloadEvent
Microsoft.VisualStudio.IntelliTrace.NullEvent
Microsoft.VisualStudio.IntelliTrace.PartitioningEvent
Microsoft.VisualStudio.IntelliTrace.ProcessDestroyedEvent
Microsoft.VisualStudio.IntelliTrace.ProcessInformationEvent
Microsoft.VisualStudio.IntelliTrace.ResolvedCallSiteEvent
Microsoft.VisualStudio.IntelliTrace.ResolvedDiagnosticEvent
Microsoft.VisualStudio.IntelliTrace.ResolvedMethodEvent
Microsoft.VisualStudio.IntelliTrace.SharePointAreaEvent
Microsoft.VisualStudio.IntelliTrace.SharePointCategoryEvent
Microsoft.VisualStudio.IntelliTrace.SystemInformationEvent
Microsoft.VisualStudio.IntelliTrace.TestCaseEvent
Microsoft.VisualStudio.IntelliTrace.TestRunContextEvent
Microsoft.VisualStudio.IntelliTrace.TestSessionEvent
Microsoft.VisualStudio.IntelliTrace.TestStepEvent
Microsoft.VisualStudio.IntelliTrace.ThreadCreateEvent
Microsoft.VisualStudio.IntelliTrace.ThreadDestroyEvent
Microsoft.VisualStudio.IntelliTrace.ThreadNameChangedEvent
Microsoft.VisualStudio.IntelliTrace.TypeSpecMetadataEvent
Microsoft.VisualStudio.IntelliTrace.WorkerProcessInformationEvent