TfsConnection.GetService Method (Type)
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Gets the requested service.
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
abstract GetService : serviceType:Type -> Object override GetService : serviceType:Type -> Object
- Type: System.Type
The type of service to retrieve.
Return ValueType: System.Object
An instance of the service that is requested if it could be found, or a null reference if it could not be found.
- 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.