GitHubClient.GetIssueLabelsAsync 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.
Lists all labels for an issue
public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Azure.Connectors.Sdk.GitHub.Models.GeneralAPIModel>> GetIssueLabelsAsync(string repositoryOwner, string repositoryName, int issueNumber, int? perPage = default, int? page = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIssueLabelsAsync : string * string * int * Nullable<int> * Nullable<int> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Azure.Connectors.Sdk.GitHub.Models.GeneralAPIModel>>
override this.GetIssueLabelsAsync : string * string * int * Nullable<int> * Nullable<int> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Azure.Connectors.Sdk.GitHub.Models.GeneralAPIModel>>
Public Overridable Function GetIssueLabelsAsync (repositoryOwner As String, repositoryName As String, issueNumber As Integer, Optional perPage As Nullable(Of Integer) = Nothing, Optional page As Nullable(Of Integer) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of List(Of GeneralAPIModel))
Parameters
- repositoryOwner
- String
Repository Owner
- repositoryName
- String
Repository Name
- issueNumber
- Int32
Issue Number
- cancellationToken
- CancellationToken
Cancellation token.
Returns
The Lists all labels for an issue response.
Remarks
Lists all labels for an issue.