Share via


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

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

See Also

Reference

ServiceProvider Class

GetServiceImpl Overload

Microsoft.VisualStudio.Data Namespace