TeamFoundationHostManagementService.CreateServiceHost Method
Creates a service host definition using the provided properties.
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Sub CreateServiceHost ( _
requestContext As TeamFoundationRequestContext, _
hostProperties As TeamFoundationServiceHostProperties _
)
public void CreateServiceHost(
TeamFoundationRequestContext requestContext,
TeamFoundationServiceHostProperties hostProperties
)
public:
virtual void CreateServiceHost(
TeamFoundationRequestContext^ requestContext,
TeamFoundationServiceHostProperties^ hostProperties
) sealed
abstract CreateServiceHost :
requestContext:TeamFoundationRequestContext *
hostProperties:TeamFoundationServiceHostProperties -> unit
override CreateServiceHost :
requestContext:TeamFoundationRequestContext *
hostProperties:TeamFoundationServiceHostProperties -> unit
public final function CreateServiceHost(
requestContext : TeamFoundationRequestContext,
hostProperties : TeamFoundationServiceHostProperties
)
Parameters
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- hostProperties
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationServiceHostProperties
Implements
.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.