ITypeLibImporterNotifySink.ReportEvent Metoda
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
Powiadamia obiekt wywołujący, że zdarzenie wystąpiło podczas konwersji biblioteki typów.
public:
void ReportEvent(System::Runtime::InteropServices::ImporterEventKind eventKind, int eventCode, System::String ^ eventMsg);
public void ReportEvent (System.Runtime.InteropServices.ImporterEventKind eventKind, int eventCode, string eventMsg);
abstract member ReportEvent : System.Runtime.InteropServices.ImporterEventKind * int * string -> unit
Public Sub ReportEvent (eventKind As ImporterEventKind, eventCode As Integer, eventMsg As String)
Parametry
- eventKind
- ImporterEventKind
ImporterEventKindWartość wskazująca typ zdarzenia.
- eventCode
- Int32
Wskazuje dodatkowe informacje o zdarzeniu.
- eventMsg
- String
Komunikat wygenerowany przez zdarzenie.
Uwagi
Jeśli zgłaszane zdarzenie jest ostrzeżeniem lub błędem, eventCode
będzie zawierać wynik HRESULT błędu. Każde inne zdarzenie będzie miało wartość 0.