WebViewStateFailureAuditEvent Constructors

Definition

Initializes a new instance of the WebViewStateFailureAuditEvent class.

Overloads

WebViewStateFailureAuditEvent(String, Object, Int32, ViewStateException)

Initializes the WebViewStateFailureAuditEvent class using the supplied parameters.

WebViewStateFailureAuditEvent(String, Object, Int32, Int32, ViewStateException)

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

WebViewStateFailureAuditEvent(String, Object, Int32, ViewStateException)

Initializes the WebViewStateFailureAuditEvent class using the supplied parameters.

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

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.

viewStateException
ViewStateException

The ViewStateException caused by the failure.

Remarks

This constructor is used internally by the ASP.NET health-monitoring system. You will never use it to instantiate a WebViewStateFailureAuditEvent object, but you can call this constructor when implementing your own event type that inherits from this class.

Applies to

WebViewStateFailureAuditEvent(String, Object, Int32, Int32, ViewStateException)

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

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

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.

viewStateException
ViewStateException

The ViewStateException caused by the failure.

Remarks

This constructor is used internally by the ASP.NET health-monitoring system. You will never use it to instantiate a WebViewStateFailureAuditEvent object, but you can call this constructor when implementing your own event type that inherits from this class.

Applies to