WebViewStateFailureAuditEvent Construtores
Definição
Importante
Algumas informações dizem respeito a um produto pré-lançado que pode ser substancialmente modificado antes de ser lançado. A Microsoft não faz garantias, de forma expressa ou implícita, em relação à informação aqui apresentada.
Inicializa uma nova instância da WebViewStateFailureAuditEvent classe.
Sobrecargas
| Name | Description |
|---|---|
| WebViewStateFailureAuditEvent(String, Object, Int32, ViewStateException) |
Inicializa a WebViewStateFailureAuditEvent classe usando os parâmetros fornecidos. |
| WebViewStateFailureAuditEvent(String, Object, Int32, Int32, ViewStateException) |
Inicializa uma nova instância da WebViewStateFailureAuditEvent classe usando os parâmetros fornecidos. |
WebViewStateFailureAuditEvent(String, Object, Int32, ViewStateException)
Inicializa a WebViewStateFailureAuditEvent classe usando os parâmetros fornecidos.
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)
Parâmetros
- message
- String
A descrição do evento.
- eventSource
- Object
O objeto que é a fonte do evento.
- eventCode
- Int32
O código associado ao evento. Quando implementa um evento personalizado, o código do evento deve ser maior que WebExtendedBase.
- viewStateException
- ViewStateException
É ViewStateException causado pela falha.
Observações
Este construtor é utilizado internamente pelo sistema de monitorização de saúde ASP.NET. Nunca o usará para instanciar um WebViewStateFailureAuditEvent objeto, mas pode chamar este construtor ao implementar o seu próprio tipo de evento que herda desta classe.
Aplica-se a
WebViewStateFailureAuditEvent(String, Object, Int32, Int32, ViewStateException)
Inicializa uma nova instância da WebViewStateFailureAuditEvent classe usando os parâmetros fornecidos.
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)
Parâmetros
- message
- String
A descrição do evento.
- eventSource
- Object
O objeto que é a fonte do evento.
- eventCode
- Int32
O código associado ao evento. Quando implementa um evento personalizado, o código do evento deve ser maior que WebExtendedBase.
- eventDetailCode
- Int32
O WebEventCodes valor que especifica o identificador detalhado do evento.
- viewStateException
- ViewStateException
É ViewStateException causado pela falha.
Observações
Este construtor é utilizado internamente pelo sistema de monitorização de saúde ASP.NET. Nunca o usará para instanciar um WebViewStateFailureAuditEvent objeto, mas pode chamar este construtor ao implementar o seu próprio tipo de evento que herda desta classe.