VssConnection.GetService<T> Method
Namespace: Microsoft.VisualStudio.Services.Client
Assembly: Microsoft.VisualStudio.Services.Client (in Microsoft.VisualStudio.Services.Client.dll)
Syntax
'Declaration
Public Function GetService(Of T As IVssClientService) As T
public T GetService<T>()
where T : IVssClientService
public:
generic<typename T>
where T : IVssClientService
T GetService()
member GetService : unit -> 'T when 'T : IVssClientService
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.