WebBaseEvent.Raise Method (WebBaseEvent)
.NET Framework (current version)
Raises the specified event by notifying any configured provider that the event has occurred.
Assembly: System.Web (in System.Web.dll)
[AspNetHostingPermissionAttribute(SecurityAction.Demand, Level = AspNetHostingPermissionLevel.Medium)] public static void Raise( WebBaseEvent eventRaised )
Parameters
- eventRaised
-
Type:
System.Web.Management.WebBaseEvent
A WebBaseEvent object.
| Exception | Condition |
|---|---|
| HttpException | The EventCode property of eventRaised has a value that is reserved for ASP.NET. |
This method raises the specified event by notifying any configured provider that the event has occurred.
Note |
|---|
Medium trust or higher is required to raise an event. |
.NET Framework
Available since 2.0
Available since 2.0
Show:
