ServicesPackage.GetService<T, S> Method
Namespace: Microsoft.VisualStudio.Services.Integration
Assembly: Microsoft.VisualStudio.Services.Integration (in Microsoft.VisualStudio.Services.Integration.dll)
Syntax
'Declaration
Public Function GetService(Of T, S) As S
public S GetService<T, S>()
public:
generic<typename T, typename S>
S GetService()
member GetService : unit -> 'S
JScript does not support generic types or methods.
Type Parameters
- T
- S
Return Value
Type: S
.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.