VsaCodeItem.AddEventSource(String, String) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Ajoute une source d'événement à l'élément de code.
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)
Paramètres
- EventSourceName
- String
Nom de programmation de la source de l'événement.
- EventSourceType
- String
Nom de type de la source de l'événement.