Condividi tramite


IDTSInfoEvents100.FireError Metodo

Definizione

Genera un errore.

public:
 void FireError(int ErrorCode, System::String ^ SubComponent, System::String ^ Description, System::String ^ HelpFile, int HelpContext, [Runtime::InteropServices::Out] bool % pbCancel);
[System.Runtime.InteropServices.DispId(2)]
public void FireError (int ErrorCode, string SubComponent, string Description, string HelpFile, int HelpContext, out bool pbCancel);
[<System.Runtime.InteropServices.DispId(2)>]
abstract member FireError : int * string * string * string * int * bool -> unit
Public Sub FireError (ErrorCode As Integer, SubComponent As String, Description As String, HelpFile As String, HelpContext As Integer, ByRef pbCancel As Boolean)

Parametri

ErrorCode
Int32

Messaggio di errore.

SubComponent
String

Sottomodulo all'interno di un'origine.

Description
String

Testo del messaggio.

HelpFile
String

Percorso del file della Guida che contiene informazioni dettagliate.

HelpContext
Int32

Identificatore dell'argomento nel file della Guida.

pbCancel
Boolean

Valore booleano che indica se la generazione dell'evento deve essere annullata o continuare.

Attributi

Si applica a