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 Value

Type: System.Object

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;

.NET Framework
Available since 2.0
Return to top