Share via


HostedApplication.GetEventSourceInstance(String, String) Method

Definition

Caution

Use of this type is not recommended because it is being deprecated in Visual Studio 2005; there will be no replacement for this feature. Please see the ICodeCompiler documentation for additional help.

Get the event source instance.

public:
 System::Object ^ GetEventSourceInstance(System::String ^ itemName, System::String ^ eventSourceName);
[System.Obsolete("Use of this type is not recommended because it is being deprecated in Visual Studio 2005; there will be no replacement for this feature. Please see the ICodeCompiler documentation for additional help.")]
public object GetEventSourceInstance (string itemName, string eventSourceName);
[<System.Obsolete("Use of this type is not recommended because it is being deprecated in Visual Studio 2005; there will be no replacement for this feature. Please see the ICodeCompiler documentation for additional help.")>]
member this.GetEventSourceInstance : string * string -> obj
Public Function GetEventSourceInstance (itemName As String, eventSourceName As String) As Object

Parameters

itemName
String

The item name of the event.

eventSourceName
String

The source name of the event.

Returns

Object of the instance of the event source.

Attributes

Remarks

Used by IVsaSite interface

Applies to