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

注解

这是一个计数器,指示应用程序已引发的事件实例数。

适用于