Поделиться через


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

See Also

Reference

VssConnection Class

Microsoft.VisualStudio.Services.Client Namespace