PluginHostPackage.GetService<T> Method

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

Syntax

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

Type Parameters

  • T

Return Value

Type: T

Implements

IHostPlugin.GetService<T>()

.NET Framework Security

See Also

Reference

PluginHostPackage Class

GetService Overload

Microsoft.TeamFoundation.Common Namespace