IServiceProvider.QueryService Method
Queries the service that is passed as the argument.
Namespace: Microsoft.Uii.Csr.Browser.Web
Assembly: Microsoft.Uii.Csr.Browser.Web (in Microsoft.Uii.Csr.Browser.Web.dll)
Usage
'Usage
Dim instance As IServiceProvider
Dim guidService As Guid
Dim riid As Guid
Dim ppvObject As Object
Dim returnValue As Integer
returnValue = instance.QueryService(guidService, riid, ppvObject)
Syntax
'Declaration
Function QueryService ( _
ByRef guidService As Guid, _
ByRef riid As Guid, _
<OutAttribute> ByRef ppvObject As Object _
) As Integer
int QueryService (
ref Guid guidService,
ref Guid riid,
out Object ppvObject
)
int QueryService (
Guid% guidService,
Guid% riid,
[OutAttribute] Object^% ppvObject
)
int QueryService (
/** @ref */ Guid guidService,
/** @ref */ Guid riid,
/** @attribute OutAttribute() */ /** @ref */ Object ppvObject
)
Parameters
- guidService
Specifies the service.
- riid
- ppvObject
Return Value
Type: Int32
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
IServiceProvider Interface
IServiceProvider Members
Microsoft.Uii.Csr.Browser.Web Namespace
Unified Service Desk
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.