WebBaseEvent.EventSource Property

 

Gets the object that raises the event.

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

Public ReadOnly Property EventSource As Object

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 Function GetEventSource() As [Object]
    ' Get the event source.
    Dim [source] As [Object] = Me.EventSource
    Return [source]

End Function 'GetEventSource

.NET Framework
Available since 2.0
Return to top
Show: