Partager via


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

Implements

ITeamFoundationHostManagementService.CreateServiceHost(TeamFoundationRequestContext, TeamFoundationServiceHostProperties)

.NET Framework Security

See Also

Reference

TeamFoundationHostManagementService Class

Microsoft.TeamFoundation.Framework.Server Namespace