WebManagementEvent Constructors

Definition

Initializes a new instance of the WebManagementEvent class.

Overloads

WebManagementEvent(String, Object, Int32)

Initializes a new instance of the WebManagementEvent class using the supplied parameters.

WebManagementEvent(String, Object, Int32, Int32)

Initializes a new instance of the WebManagementEvent class using the supplied parameters.

WebManagementEvent(String, Object, Int32)

Initializes a new instance of the WebManagementEvent class using the supplied parameters.

protected public:
 WebManagementEvent(System::String ^ message, System::Object ^ eventSource, int eventCode);
protected internal WebManagementEvent (string message, object eventSource, int eventCode);
new System.Web.Management.WebManagementEvent : string * obj * int -> System.Web.Management.WebManagementEvent
Protected Friend Sub New (message As String, eventSource As Object, eventCode As Integer)

Parameters

message
String

The event description.

eventSource
Object

The object that is the source of the event.

eventCode
Int32

The code associated with the event. When you implement a custom event, the event code must be greater than WebExtendedBase.

Remarks

The WebManagementEvent constructor is not intended to be used directly from your code. It is called by ASP.NET. You can call the WebManagementEvent constructor when deriving from the WebManagementEvent class.

Applies to

WebManagementEvent(String, Object, Int32, Int32)

Initializes a new instance of the WebManagementEvent class using the supplied parameters.

protected public:
 WebManagementEvent(System::String ^ message, System::Object ^ eventSource, int eventCode, int eventDetailCode);
protected internal WebManagementEvent (string message, object eventSource, int eventCode, int eventDetailCode);
new System.Web.Management.WebManagementEvent : string * obj * int * int -> System.Web.Management.WebManagementEvent
Protected Friend Sub New (message As String, eventSource As Object, eventCode As Integer, eventDetailCode As Integer)

Parameters

message
String

The event description.

eventSource
Object

The object that is the source of the event.

eventCode
Int32

The code associated with the event. When you implement a custom event, the event code must be greater than WebExtendedBase.

eventDetailCode
Int32

The WebEventCodes value that specifies the detailed identifier for the event.

Remarks

The WebManagementEvent constructor is not intended to be used directly from your code. It is called by ASP.NET. You can call the WebManagementEvent constructor when deriving from the WebManagementEvent class.

Applies to