TfsPullRequestSettings.

TfsPullRequestSettings(Uri, int, IPrcaCredentials) Constructor

Summary

Initializes a new instance of the TfsPullRequestSettings class.

Syntax

public TfsPullRequestSettings(Uri repositoryUrl, int pullRequestId, 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.
pullRequestId int ID of the pull request.
credentials IPrcaCredentials Credentials to use to authenticate against Team Foundation Server or Visual Studio Team Services.

Return Value

Type Description
void
GitHub