TfsTeamProjectCollection.GetServiceInstance Method
This member overrides TfsConnection.GetServiceInstance(Type, Object).
Namespace: Microsoft.TeamFoundation.Client
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
Syntax
'Declaración
Protected Overrides Function GetServiceInstance ( _
serviceType As Type, _
serviceInstance As Object _
) As Object
protected override Object GetServiceInstance(
Type serviceType,
Object serviceInstance
)
protected:
virtual Object^ GetServiceInstance(
Type^ serviceType,
Object^ serviceInstance
) override
abstract GetServiceInstance :
serviceType:Type *
serviceInstance:Object -> Object
override GetServiceInstance :
serviceType:Type *
serviceInstance:Object -> Object
protected override function GetServiceInstance(
serviceType : Type,
serviceInstance : Object
) : Object
Parameters
- serviceType
Type: System.Type
- serviceInstance
Type: System.Object
Return Value
Type: System.Object
Returns Object.
.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.