Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Performs as a factory for services that are exposed through an implementation of IServiceProvider.
Namespace: Microsoft.VisualStudio.Data.Framework
Assembly: Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)
Syntax
'Declaration
Private Function QueryService ( _
ByRef guidService As Guid, _
ByRef riid As Guid, _
<OutAttribute> ByRef ppvObject As IntPtr _
) As Integer Implements IServiceProvider.QueryService
int IServiceProvider.QueryService(
ref Guid guidService,
ref Guid riid,
out IntPtr ppvObject
)
private:
virtual int QueryService(
Guid% guidService,
Guid% riid,
[OutAttribute] IntPtr% ppvObject
) sealed = IServiceProvider::QueryService
private abstract QueryService :
guidService:Guid byref *
riid:Guid byref *
ppvObject:IntPtr byref -> int
private override QueryService :
guidService:Guid byref *
riid:Guid byref *
ppvObject:IntPtr byref -> int
JScript does not support explicit interface implementations.
Parameters
- guidService
Type: System.Guid%
A unique identifier of the requested service.
- riid
Type: System.Guid%
A unique identifier of the interface that the caller wants to receive for the service.
- ppvObject
Type: System.IntPtr%
The address of the interface specified by the riid parameter.
Return Value
Type: System.Int32
An integer specifying the address of the interface for the requested service.
Implements
IServiceProvider.QueryService(Guid%, Guid%, IntPtr%)
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.