Share via


IVsDataHostService.TryGetService Method

Include Protected Members
Include Inherited Members

Tries to get a global Visual Studio service of the specified type.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

 

Name

Description

Public method

TryGetService<T>()

Tries to get a global Visual Studio service of the specified type.

Public method

TryGetService<TService, TInterface>()

Tries to get a global Visual Studio service of the specified type that implements the specified interface.

Public method

TryGetService<T>(Guid)

Tries to get a global Visual Studio service that is registered with the specified class ID that implements the specified interface.

Top

See Also

Reference

IVsDataHostService Interface

IVsDataHostService Members

Microsoft.VisualStudio.Data.Core Namespace