Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
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)
Syntax
'Declaration
Function CreateBuildServiceHost ( _
name As String, _
scheme As String, _
host As String, _
port As Integer _
) As IBuildServiceHost
IBuildServiceHost CreateBuildServiceHost(
string name,
string scheme,
string host,
int port
)
IBuildServiceHost^ CreateBuildServiceHost(
String^ name,
String^ scheme,
String^ host,
int port
)
abstract CreateBuildServiceHost :
name:string *
scheme:string *
host:string *
port:int -> IBuildServiceHost
function CreateBuildServiceHost(
name : String,
scheme : String,
host : String,
port : int
) : IBuildServiceHost
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.
Remarks
The base URL will be of the form (Build/v3.0/Services).
.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.