WebBaseEvent.EventSequence 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取应用程序已引发事件的次数。
public:
property long EventSequence { long get(); };
public long EventSequence { get; }
member this.EventSequence : int64
Public ReadOnly Property EventSequence As Long
属性值
已引发事件的次数。
示例
下面的代码示例演示如何获取 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
注解
这是一个计数器,指示应用程序已引发的事件实例数。