This documentation is archived and is not being maintained.
IBuildServer::CreateBuildServiceHost Method (String, String, String, Int32)
Visual Studio 2013
Creates a new service host with the specified name, and with a base URL that consists 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.
- 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.
Show: