BaseVsaSite.GetEventSourceInstance(String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a reference to an event source previously added to a script engine using the AddEventSource(String, String) method.
public:
virtual System::Object ^ GetEventSourceInstance(System::String ^ itemName, System::String ^ eventSourceName);
public virtual object GetEventSourceInstance (string itemName, string eventSourceName);
abstract member GetEventSourceInstance : string * string -> obj
override this.GetEventSourceInstance : string * string -> obj
Public Overridable Function GetEventSourceInstance (itemName As String, eventSourceName As String) As Object
Parameters
- itemName
- String
The item name.
- eventSourceName
- String
The event source name.
Returns
The event source to the engine.
Implements
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.