This documentation is archived and is not being maintained.

WebBaseEvent.EventSequence Property

Gets the number of times the event has been raised by the application.

Namespace: System.Web.Management
Assembly: System.Web (in system.web.dll)

public long EventSequence { get; }
/** @property */
public long get_EventSequence ()

public function get EventSequence () : long

Not applicable.

Property Value

The number of times the event has been raised.

This is a counter that indicates how many instances of the event have been raised by the application.

The following code example shows how to obtain the EventSequence value.

// Gets the event sequence.
public long GetEventSequence()
    // Get the event sequence.
    long eventSequence = EventSequence;
    return eventSequence;

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0