BuildServiceHostUtilities.ChangeEndpoint Method
Namespace: Microsoft.TeamFoundation.Build.Config
Assembly: Microsoft.TeamFoundation.Build.Config (in Microsoft.TeamFoundation.Build.Config.dll)
Syntax
'Dichiarazione
Public Shared Sub ChangeEndpoint ( _
endpoint As String, _
serverCertificate As X509Certificate2 _
)
public static void ChangeEndpoint(
string endpoint,
X509Certificate2 serverCertificate
)
public:
static void ChangeEndpoint(
String^ endpoint,
X509Certificate2^ serverCertificate
)
static member ChangeEndpoint :
endpoint:string *
serverCertificate:X509Certificate2 -> unit
public static function ChangeEndpoint(
endpoint : String,
serverCertificate : X509Certificate2
)
Parameters
- endpoint
Type: System.String
- serverCertificate
Type: System.Security.Cryptography.X509Certificates.X509Certificate2
.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.