AzureDevOpsPullRequestSettings.

AzureDevOpsPullRequestSettings(Uri, string, IAzureDevOpsCredentials) Constructor

Summary

Initializes a new instance of the AzureDevOpsPullRequestSettings class.

Syntax

public AzureDevOpsPullRequestSettings(Uri repositoryUrl, string sourceBranch, IAzureDevOpsCredentials credentials)

Parameters

Name Type Description
repositoryUrl Uri Full URL of the Git repository, eg.
http://myserver:8080/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 IAzureDevOpsCredentials Credentials to use to authenticate against Azure DevOps.

Return Value

Type Description
void