System.Runtime.InteropServices.ITypeLibExporterNotifySink.ReportEvent Method

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

Syntax

public void ReportEvent (ExporterEventKind eventKind, int eventCode, string eventMsg)

Parameters

eventKind
An System.Runtime.InteropServices.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

Namespace: System.Runtime.InteropServices
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0