ServiceProvider.GetServiceImpl Method (Guid)
Provides the implementation for retrieving a service with a specific GUID.
Namespace: Microsoft.VisualStudio.Data
Assembly: Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)
Syntax
'Declaration
Protected Overridable Function GetServiceImpl ( _
serviceGuid As Guid _
) As Object
protected virtual Object GetServiceImpl(
Guid serviceGuid
)
protected:
virtual Object^ GetServiceImpl(
Guid serviceGuid
)
abstract GetServiceImpl :
serviceGuid:Guid -> Object
override GetServiceImpl :
serviceGuid:Guid -> Object
protected function GetServiceImpl(
serviceGuid : Guid
) : Object
Parameters
serviceGuid
Type: System.GuidThe GUID of a service.
Return Value
Type: System.Object
Returns the service with a specified service GUID, or returns nulla null reference (Nothing in Visual Basic) if no service was found.
Remarks
This method is called only when the IServiceProvider object is providing a service provider and a request for a service GUID does not map into a known Type.
.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.