TfsConnection.GetServiceInstance Method
Namespace: Microsoft.TeamFoundation.Client
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
Syntax
声明
Protected Overridable Function GetServiceInstance ( _
serviceType As Type, _
serviceInstance As Object _
) As Object
protected virtual Object GetServiceInstance(
Type serviceType,
Object serviceInstance
)
protected:
virtual Object^ GetServiceInstance(
Type^ serviceType,
Object^ serviceInstance
)
abstract GetServiceInstance :
serviceType:Type *
serviceInstance:Object -> Object
override GetServiceInstance :
serviceType:Type *
serviceInstance:Object -> Object
protected 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.