PluginHostPackage.GetService<T, V> Method

Namespace:  Microsoft.TeamFoundation.Common
Assembly:  Microsoft.VisualStudio.TeamFoundation (in Microsoft.VisualStudio.TeamFoundation.dll)

Syntax

'Declaration
Public Function GetService(Of T, V) As V
public V GetService<T, V>()
public:
generic<typename T, typename V>
virtual V GetService() sealed
abstract GetService : unit -> 'V 
override GetService : unit -> 'V 
JScript does not support generic types or methods.

Type Parameters

  • T
  • V

Return Value

Type: V

Implements

IHostPlugin.GetService<T, V>()

.NET Framework Security

See Also

Reference

PluginHostPackage Class

GetService Overload

Microsoft.TeamFoundation.Common Namespace