Export (0) Print
Expand All

ITypeLibExporterNotifySink.ReportEvent Method

Notifies the caller that an event occured during the conversion of an assembly.

[Visual Basic]
Sub ReportEvent( _
   ByVal eventKind As ExporterEventKind, _
   ByVal eventCode As Integer, _
   ByVal eventMsg As String _
)
[C#]
void ReportEvent(
   ExporterEventKind eventKind,
 int eventCode,
 string eventMsg
);
[C++]
void ReportEvent(
   ExporterEventKind eventKind,
 int eventCode,
 String* eventMsg
);
[JScript]
function ReportEvent(
   eventKind : ExporterEventKind,
 eventCode : int,
 eventMsg : String
);

Parameters

eventKind
An ExporterEventKind value indicating the type of event.
eventCode
Indicates extra information about the event.
eventMsg
A message generated by the event.

Remarks

If the event being reported is a warning or an error, eventCode will contain the HRESULT of the error. For any other event it will be 0.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

ITypeLibExporterNotifySink Interface | ITypeLibExporterNotifySink Members | System.Runtime.InteropServices Namespace

Show:
© 2014 Microsoft