VsaCodeItem.AddEventSource(String, String) Method

Definition

Adds an event source to the code item.

public:
 virtual void AddEventSource(System::String ^ EventSourceName, System::String ^ EventSourceType);
public void AddEventSource (string EventSourceName, string EventSourceType);
abstract member AddEventSource : string * string -> unit
override this.AddEventSource : string * string -> unit
Public Sub AddEventSource (EventSourceName As String, EventSourceType As String)

Parameters

EventSourceName
String

A programmatic name of the event source.

EventSourceType
String

The type name of the event source.

Implements

Applies to