IHostPlugin.GetService<T> Method
Namespace: Microsoft.VisualStudio.TeamFoundation
Assembly: Microsoft.VisualStudio.TeamFoundation (in Microsoft.VisualStudio.TeamFoundation.dll)
Syntax
'Declaration
Function GetService(Of T) As T
T GetService<T>()
generic<typename T>
T GetService()
abstract GetService : unit -> 'T
JScript does not support generic types or methods.
Type Parameters
- T
Return Value
Type: T
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.