HostedApplication.GetEventSourceInstance Method

Get the event source instance.

Namespace: Microsoft.Uii.Csr
Assembly: Microsoft.Uii.Csr.Core (in Microsoft.Uii.Csr.Core.dll)

Usage

'Usage
Dim instance As HostedApplication
Dim itemName As String
Dim eventSourceName As String
Dim returnValue As Object

returnValue = instance.GetEventSourceInstance(itemName, eventSourceName)

Syntax

'Declaration
<ObsoleteAttribute("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 Function GetEventSourceInstance ( _
    itemName As String, _
    eventSourceName As String _
) As Object
[ObsoleteAttribute("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
)
[ObsoleteAttribute(L"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
)
/** @attribute ObsoleteAttribute("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
)
ObsoleteAttribute("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 function GetEventSourceInstance (
    itemName : String, 
    eventSourceName : String
) : Object

Parameters

  • itemName
    The item name of the event.
  • eventSourceName
    The source name of the event.

Return Value

Object of the instance of the event source.

Remarks

Used by IVsaSite interface

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

See Also

Reference

HostedApplication Class
HostedApplication Members
Microsoft.Uii.Csr Namespace

Unified Service Desk
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.