IVsDataHostService.TryGetService Method

Include Protected Members
Include Inherited Members

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

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