ApplicationHost.QueryInterface Method
Checks whether a particular application implements a specified interface.
Namespace: Microsoft.Uii.Csr
Assembly: Microsoft.Uii.Csr.Core (in Microsoft.Uii.Csr.Core.dll)
Usage
'Usage
Dim instance As ApplicationHost
Dim requestedInterface As AifInterfaces
Dim app As IHostedApplication
Dim returnValue As IHostedApplication
returnValue = instance.QueryInterface(requestedInterface, app)
Syntax
'Declaration
Public Function QueryInterface ( _
requestedInterface As AifInterfaces, _
app As IHostedApplication _
) As IHostedApplication
public IHostedApplication QueryInterface (
AifInterfaces requestedInterface,
IHostedApplication app
)
public:
IHostedApplication^ QueryInterface (
AifInterfaces requestedInterface,
IHostedApplication^ app
)
public IHostedApplication QueryInterface (
AifInterfaces requestedInterface,
IHostedApplication app
)
public function QueryInterface (
requestedInterface : AifInterfaces,
app : IHostedApplication
) : IHostedApplication
Parameters
- requestedInterface
Specifies the interface
- app
Specifies the application that needs to be queried
Return Value
Hosted Application
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
ApplicationHost Class
ApplicationHost Members
Microsoft.Uii.Csr Namespace
Unified Service Desk
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.