共用方式為


RegisterAssembly.ReportEvent(ExporterEventKind, Int32, String) Method

Definition

Callback method for reporting type library export events

This API supports the product infrastructure and is not intended to be used directly from your code.

public:
 virtual void ReportEvent(System::Runtime::InteropServices::ExporterEventKind kind, int code, System::String ^ msg);
public void ReportEvent (System.Runtime.InteropServices.ExporterEventKind kind, int code, string msg);
abstract member ReportEvent : System.Runtime.InteropServices.ExporterEventKind * int * string -> unit
override this.ReportEvent : System.Runtime.InteropServices.ExporterEventKind * int * string -> unit
Public Sub ReportEvent (kind As ExporterEventKind, code As Integer, msg As String)

Parameters

kind
ExporterEventKind

Describes the callbacks that the type library exporter makes when exporting a type library.

code
Int32

The error code of the export event.

msg
String

The message of the export event.

Implements

Applies to