WebBaseEvent::Raise Method ()

 

Raises an event by notifying any configured provider that the event has occurred.

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

public:
[AspNetHostingPermissionAttribute(SecurityAction::Demand, Level = AspNetHostingPermissionLevel::Medium)]
virtual void Raise()

If you override this method, the event raised is your custom event.

System_CAPS_noteNote

Medium trust or higher is required to raise an event.

The following code example shows how to use the Raise method.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top
Show: