IVsService<T> Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides access to a Visual Studio proffered service.
public interface IVsService<T> where T : class
type IVsService<'T (requires 'T : null)> = interface
Public Interface IVsService(Of T)
Type Parameters
- T
The service identity and interface of the Visual Studio service. When the service identity and interface are distinct types, use IVsService<TService,TInterface> instead.
- Derived
Remarks
This service acquiring interface is typically acquired via a MEF import attribute. For example: [Import] IVsService<IVsRunningDocumentTable> rdt;
Methods
GetValueAsync(CancellationToken) |
Gets an instance of the |
GetValueOrNullAsync(CancellationToken) |
Gets an instance of the |