Anteckning
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Creates a new service host with the specified name and base URL.
Namespace: Microsoft.TeamFoundation.Build.Client
Assembly: Microsoft.TeamFoundation.Build.Client (in Microsoft.TeamFoundation.Build.Client.dll)
Syntax
'Declaration
Function CreateBuildServiceHost ( _
name As String, _
baseUrl As Uri _
) As IBuildServiceHost
IBuildServiceHost CreateBuildServiceHost(
string name,
Uri baseUrl
)
IBuildServiceHost^ CreateBuildServiceHost(
String^ name,
Uri^ baseUrl
)
abstract CreateBuildServiceHost :
name:string *
baseUrl:Uri -> IBuildServiceHost
function CreateBuildServiceHost(
name : String,
baseUrl : Uri
) : IBuildServiceHost
Parameters
name
Type: System.StringThe name of the service host.
baseUrl
Type: System.UriThe base URL of the service host.
Return Value
Type: Microsoft.TeamFoundation.Build.Client.IBuildServiceHost
The new service host.
.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.