Export (0) Print
Expand All

BuildServiceHostUtilities.ChangeEndpoint Method

Changes the endpoint—the incoming URI, such as http://machinename:9191—for the currently registered service host.

Namespace:  Microsoft.TeamFoundation.Build.Config
Assembly:  Microsoft.TeamFoundation.Build.Config (in Microsoft.TeamFoundation.Build.Config.dll)

public static void ChangeEndpoint(
	string endpoint,
	X509Certificate2 serverCertificate
)

Parameters

endpoint
Type: System.String

The new endpoint for the currently registered service host.

serverCertificate
Type: System.Security.Cryptography.X509Certificates.X509Certificate2

The X509 certificate to use for server authentication.

Show:
© 2014 Microsoft