GitHubClient.UpdateMilestoneAsync 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.
Update a milestone
public virtual System.Threading.Tasks.Task<Azure.Connectors.Sdk.GitHub.Models.Milestone> UpdateMilestoneAsync(string repositoryOwner, string repositoryName, int milestoneNumber, Azure.Connectors.Sdk.GitHub.Models.MilestoneUpdateModel input, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateMilestoneAsync : string * string * int * Azure.Connectors.Sdk.GitHub.Models.MilestoneUpdateModel * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Connectors.Sdk.GitHub.Models.Milestone>
override this.UpdateMilestoneAsync : string * string * int * Azure.Connectors.Sdk.GitHub.Models.MilestoneUpdateModel * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Connectors.Sdk.GitHub.Models.Milestone>
Public Overridable Function UpdateMilestoneAsync (repositoryOwner As String, repositoryName As String, milestoneNumber As Integer, input As MilestoneUpdateModel, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Milestone)
Parameters
- repositoryOwner
- String
Repository Owner
- repositoryName
- String
Repository Name
- milestoneNumber
- Int32
Milestone Number
- input
- MilestoneUpdateModel
The request body.
- cancellationToken
- CancellationToken
Cancellation token.
Returns
The Update a milestone response.
Remarks
Update an existing milestone.