WebBaseEvent.EventSequence 屬性

定義

取得應用程式引發此事件的次數。

public:
 property long EventSequence { long get(); };
public long EventSequence { get; }
member this.EventSequence : int64
Public ReadOnly Property EventSequence As Long

屬性值

Int64

此事件引發的次數。

範例

下列程式碼範例示範如何取得 EventSequence 值。

// Gets the event sequence.
public long GetEventSequence()
{
    // Get the event sequence.
    long eventSequence = EventSequence;
    return eventSequence;
}
' Gets the event sequence.
Public Function GetEventSequence() As Long
    ' Get the event sequence.
    Dim eventSequence As Long = eventSequence
    Return eventSequence

End Function 'GetEventSequence

備註

這是一個計數器,指出應用程式已引發的事件實例數目。

適用於