TfsPullRequestSettings.

TfsPullRequestSettings(Uri, string, IPrcaCredentials) Constructor

Summary

Initializes a new instance of the TfsPullRequestSettings class.

Syntax

public TfsPullRequestSettings(Uri repositoryUrl, string sourceBranch, IPrcaCredentials credentials)

Parameters

Name Type Description
repositoryUrl Uri Full URL of the Git repository, eg.
http://myserver:8080/tfs/defaultcollection/myproject/_git/myrepository
. Supported URL schemes are HTTP, HTTPS and SSH. URLs using SSH scheme are converted to HTTPS.
sourceBranch string Branch for which the pull request is made.
credentials IPrcaCredentials Credentials to use to authenticate against Team Foundation Server or Visual Studio Team Services.

Return Value

Type Description
void
GitHub