IJSVsaCodeItem.AddEventSource(String, String) Method

Definition

Adds an event source to the code item. The code item uses the event source to hook up an event to the named event source by calling the IVsaSite.GetEventSourceInstance method, which is implemented by the host.

public void AddEventSource (string eventSourceName, string eventSourceType);

Parameters

eventSourceName
String

A programmatic name of the event source.

eventSourceType
String

The type name of the event source.

Applies to

Produkt Versjoner
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1