Partager via


BasicHelper.GetService<T, V> Method

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

Syntax

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

Type Parameters

  • T
  • V

Return Value

Type: V
Returns IVsUserContext.

.NET Framework Security

See Also

Reference

BasicHelper Class

GetService Overload

Microsoft.TeamFoundation.Common Namespace