WebBaseEvent.EventSource Property

Gets the object that raises the event.

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

public Object EventSource { get; }
/** @property */
public Object get_EventSource ()

public function get EventSource () : Object

Not applicable.

Property Value

The object that raised the event.

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

// Gets the event source.
public Object GetEventSource()
    // Get the event source.
    Object source = this.EventSource;
    return source;

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