GitHttpClientBase.SharePullRequestAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| SharePullRequestAsync(ShareNotificationContext, String, String, Int32, Object, CancellationToken) |
[Preview API] Sends an e-mail notification about a specific pull request to a set of recipients |
| SharePullRequestAsync(ShareNotificationContext, String, Guid, Int32, Object, CancellationToken) |
[Preview API] Sends an e-mail notification about a specific pull request to a set of recipients |
| SharePullRequestAsync(ShareNotificationContext, Guid, String, Int32, Object, CancellationToken) |
[Preview API] Sends an e-mail notification about a specific pull request to a set of recipients |
| SharePullRequestAsync(ShareNotificationContext, String, Int32, Object, CancellationToken) |
[Preview API] Sends an e-mail notification about a specific pull request to a set of recipients |
| SharePullRequestAsync(ShareNotificationContext, Guid, Int32, Object, CancellationToken) |
[Preview API] Sends an e-mail notification about a specific pull request to a set of recipients |
| SharePullRequestAsync(ShareNotificationContext, Guid, Guid, Int32, Object, CancellationToken) |
[Preview API] Sends an e-mail notification about a specific pull request to a set of recipients |
SharePullRequestAsync(ShareNotificationContext, String, String, Int32, Object, CancellationToken)
[Preview API] Sends an e-mail notification about a specific pull request to a set of recipients
public virtual System.Threading.Tasks.Task SharePullRequestAsync(Microsoft.TeamFoundation.SourceControl.WebApi.ShareNotificationContext userMessage, string project, string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member SharePullRequestAsync : Microsoft.TeamFoundation.SourceControl.WebApi.ShareNotificationContext * string * string * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.SharePullRequestAsync : Microsoft.TeamFoundation.SourceControl.WebApi.ShareNotificationContext * string * string * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Parameters
- userMessage
- ShareNotificationContext
- project
- String
Project ID or project name
- repositoryId
- String
ID of the git repository.
- pullRequestId
- Int32
ID of the pull request.
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
Applies to
SharePullRequestAsync(ShareNotificationContext, String, Guid, Int32, Object, CancellationToken)
[Preview API] Sends an e-mail notification about a specific pull request to a set of recipients
public virtual System.Threading.Tasks.Task SharePullRequestAsync(Microsoft.TeamFoundation.SourceControl.WebApi.ShareNotificationContext userMessage, string project, Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member SharePullRequestAsync : Microsoft.TeamFoundation.SourceControl.WebApi.ShareNotificationContext * string * Guid * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.SharePullRequestAsync : Microsoft.TeamFoundation.SourceControl.WebApi.ShareNotificationContext * string * Guid * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Parameters
- userMessage
- ShareNotificationContext
- project
- String
Project ID or project name
- repositoryId
- Guid
ID of the git repository.
- pullRequestId
- Int32
ID of the pull request.
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
Applies to
SharePullRequestAsync(ShareNotificationContext, Guid, String, Int32, Object, CancellationToken)
[Preview API] Sends an e-mail notification about a specific pull request to a set of recipients
public virtual System.Threading.Tasks.Task SharePullRequestAsync(Microsoft.TeamFoundation.SourceControl.WebApi.ShareNotificationContext userMessage, Guid project, string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member SharePullRequestAsync : Microsoft.TeamFoundation.SourceControl.WebApi.ShareNotificationContext * Guid * string * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.SharePullRequestAsync : Microsoft.TeamFoundation.SourceControl.WebApi.ShareNotificationContext * Guid * string * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Parameters
- userMessage
- ShareNotificationContext
- project
- Guid
Project ID
- repositoryId
- String
ID of the git repository.
- pullRequestId
- Int32
ID of the pull request.
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
Applies to
SharePullRequestAsync(ShareNotificationContext, String, Int32, Object, CancellationToken)
[Preview API] Sends an e-mail notification about a specific pull request to a set of recipients
public virtual System.Threading.Tasks.Task SharePullRequestAsync(Microsoft.TeamFoundation.SourceControl.WebApi.ShareNotificationContext userMessage, string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member SharePullRequestAsync : Microsoft.TeamFoundation.SourceControl.WebApi.ShareNotificationContext * string * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.SharePullRequestAsync : Microsoft.TeamFoundation.SourceControl.WebApi.ShareNotificationContext * string * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Parameters
- userMessage
- ShareNotificationContext
- repositoryId
- String
ID of the git repository.
- pullRequestId
- Int32
ID of the pull request.
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
Applies to
SharePullRequestAsync(ShareNotificationContext, Guid, Int32, Object, CancellationToken)
[Preview API] Sends an e-mail notification about a specific pull request to a set of recipients
public virtual System.Threading.Tasks.Task SharePullRequestAsync(Microsoft.TeamFoundation.SourceControl.WebApi.ShareNotificationContext userMessage, Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member SharePullRequestAsync : Microsoft.TeamFoundation.SourceControl.WebApi.ShareNotificationContext * Guid * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.SharePullRequestAsync : Microsoft.TeamFoundation.SourceControl.WebApi.ShareNotificationContext * Guid * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Parameters
- userMessage
- ShareNotificationContext
- repositoryId
- Guid
ID of the git repository.
- pullRequestId
- Int32
ID of the pull request.
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
Applies to
SharePullRequestAsync(ShareNotificationContext, Guid, Guid, Int32, Object, CancellationToken)
[Preview API] Sends an e-mail notification about a specific pull request to a set of recipients
public virtual System.Threading.Tasks.Task SharePullRequestAsync(Microsoft.TeamFoundation.SourceControl.WebApi.ShareNotificationContext userMessage, Guid project, Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member SharePullRequestAsync : Microsoft.TeamFoundation.SourceControl.WebApi.ShareNotificationContext * Guid * Guid * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.SharePullRequestAsync : Microsoft.TeamFoundation.SourceControl.WebApi.ShareNotificationContext * Guid * Guid * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Parameters
- userMessage
- ShareNotificationContext
- project
- Guid
Project ID
- repositoryId
- Guid
ID of the git repository.
- pullRequestId
- Int32
ID of the pull request.
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.