Compartilhar via


EventsObjectWrapper.FireError(Int32, String, String, String, Int32) Método

Definição

Gera um evento quando ocorre um erro.

public:
 bool FireError(int errorCode, System::String ^ subComponent, System::String ^ description, System::String ^ helpFile, int helpContext);
public bool FireError (int errorCode, string subComponent, string description, string helpFile, int helpContext);
member this.FireError : int * string * string * string * int -> bool
Public Function FireError (errorCode As Integer, subComponent As String, description As String, helpFile As String, helpContext As Integer) As Boolean

Parâmetros

errorCode
Int32

Identifica a mensagem de erro.

subComponent
String

Contém mais detalhes sobre a origem do evento.

description
String

O texto da mensagem.

helpFile
String

O caminho para o arquivo da Ajuda que contém informações detalhadas.

helpContext
Int32

O identificador do tópico no arquivo da Ajuda.

Retornos

True se o evento deve continuar sendo disparado; caso contrário, false.

Aplica-se a