Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

IBuildServer.CreateBuildServiceHost Method (String, String, String, Int32)

Creates a new service host with the specified name, and with a base URL consisting of the specified scheme, host, port, and the default path.

Namespace:  Microsoft.TeamFoundation.Build.Client
Assembly:  Microsoft.TeamFoundation.Build.Client (in Microsoft.TeamFoundation.Build.Client.dll)
IBuildServiceHost CreateBuildServiceHost(
	string name,
	string scheme,
	string host,
	int port
)

Parameters

name
Type: System.String
The name of the service host.
scheme
Type: System.String
The scheme of the base URL of the service host.
host
Type: System.String
The host of the base URL of the service host.
port
Type: System.Int32
The port of the base URL of the service host.

Return Value

Type: Microsoft.TeamFoundation.Build.Client.IBuildServiceHost
The new service host.

The base URL will be of the form (Build/v3.0/Services).

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.