Share via


ServiceProvider Members

Include Protected Members
Include Inherited Members

Provides a unified service provider for managed VSPackages.

The ServiceProvider type exposes the following members.

Constructors

 

Name

Description

Public method

ServiceProvider

Overloaded. Initializes an instance of ServiceProvider.

Top

Methods

 

Name

Description

Public method

Dispose

Releases the resources used by the ServiceProvider object.

Public method

Equals

Determines whether the specified Object is equal to the current Object. (Inherited from Object.)

Protected method

Finalize

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)

Public method

GetHashCode

Serves as a hash function for a particular type. (Inherited from Object.)

Public method

GetService

Overloaded. Gets GUID-based services from the unmanaged service provider.

Public method

GetType

Gets the type of the current instance. (Inherited from Object.)

Protected method

MemberwiseClone

Creates a shallow copy of the current Object. (Inherited from Object.)

Public method

ToString

Returns a string that represents the current object. (Inherited from Object.)

Top

Explicit Interface Implementations

 

Name

Description

Explicit interface implemetationPrivate method

IObjectWithSite.GetSite

Gets the current site object to resolve services.

Explicit interface implemetationPrivate method

IObjectWithSite.SetSite

Sets the site object to resolve services.

Top

See Also

Reference

ServiceProvider Class

Microsoft.VisualStudio.Shell Namespace