WorkItemTrackingHttpClientBase.GetReportingLinksByLinkTypeAsync 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
GetReportingLinksByLinkTypeAsync(Guid, IEnumerable<String>, IEnumerable<String>, String, Nullable<DateTime>, Object, CancellationToken) |
[Preview API] Get a batch of work item links |
GetReportingLinksByLinkTypeAsync(String, IEnumerable<String>, IEnumerable<String>, String, Nullable<DateTime>, Object, CancellationToken) |
[Preview API] Get a batch of work item links |
GetReportingLinksByLinkTypeAsync(IEnumerable<String>, IEnumerable<String>, String, Nullable<DateTime>, Object, CancellationToken) |
[Preview API] Get a batch of work item links |
GetReportingLinksByLinkTypeAsync(Guid, IEnumerable<String>, IEnumerable<String>, String, Nullable<DateTime>, Object, CancellationToken)
[Preview API] Get a batch of work item links
public virtual System.Threading.Tasks.Task<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.ReportingWorkItemLinksBatch> GetReportingLinksByLinkTypeAsync (Guid project, System.Collections.Generic.IEnumerable<string> linkTypes = null, System.Collections.Generic.IEnumerable<string> types = null, string continuationToken = null, Nullable<DateTime> startDateTime = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetReportingLinksByLinkTypeAsync : Guid * seq<string> * seq<string> * string * Nullable<DateTime> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.ReportingWorkItemLinksBatch>
override this.GetReportingLinksByLinkTypeAsync : Guid * seq<string> * seq<string> * string * Nullable<DateTime> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.ReportingWorkItemLinksBatch>
Parameters
- project
- Guid
Project ID
- linkTypes
- IEnumerable<String>
A list of types to filter the results to specific link types. Omit this parameter to get work item links of all link types.
- types
- IEnumerable<String>
A list of types to filter the results to specific work item types. Omit this parameter to get work item links of all work item types.
- continuationToken
- String
Specifies the continuationToken to start the batch from. Omit this parameter to get the first batch of links.
Date/time to use as a starting point for link changes. Only link changes that occurred after that date/time will be returned. Cannot be used in conjunction with 'watermark' parameter.
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
Applies to
GetReportingLinksByLinkTypeAsync(String, IEnumerable<String>, IEnumerable<String>, String, Nullable<DateTime>, Object, CancellationToken)
[Preview API] Get a batch of work item links
public virtual System.Threading.Tasks.Task<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.ReportingWorkItemLinksBatch> GetReportingLinksByLinkTypeAsync (string project, System.Collections.Generic.IEnumerable<string> linkTypes = null, System.Collections.Generic.IEnumerable<string> types = null, string continuationToken = null, Nullable<DateTime> startDateTime = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetReportingLinksByLinkTypeAsync : string * seq<string> * seq<string> * string * Nullable<DateTime> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.ReportingWorkItemLinksBatch>
override this.GetReportingLinksByLinkTypeAsync : string * seq<string> * seq<string> * string * Nullable<DateTime> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.ReportingWorkItemLinksBatch>
Parameters
- project
- String
Project ID or project name
- linkTypes
- IEnumerable<String>
A list of types to filter the results to specific link types. Omit this parameter to get work item links of all link types.
- types
- IEnumerable<String>
A list of types to filter the results to specific work item types. Omit this parameter to get work item links of all work item types.
- continuationToken
- String
Specifies the continuationToken to start the batch from. Omit this parameter to get the first batch of links.
Date/time to use as a starting point for link changes. Only link changes that occurred after that date/time will be returned. Cannot be used in conjunction with 'watermark' parameter.
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
Applies to
GetReportingLinksByLinkTypeAsync(IEnumerable<String>, IEnumerable<String>, String, Nullable<DateTime>, Object, CancellationToken)
[Preview API] Get a batch of work item links
public virtual System.Threading.Tasks.Task<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.ReportingWorkItemLinksBatch> GetReportingLinksByLinkTypeAsync (System.Collections.Generic.IEnumerable<string> linkTypes = null, System.Collections.Generic.IEnumerable<string> types = null, string continuationToken = null, Nullable<DateTime> startDateTime = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetReportingLinksByLinkTypeAsync : seq<string> * seq<string> * string * Nullable<DateTime> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.ReportingWorkItemLinksBatch>
override this.GetReportingLinksByLinkTypeAsync : seq<string> * seq<string> * string * Nullable<DateTime> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.ReportingWorkItemLinksBatch>
Parameters
- linkTypes
- IEnumerable<String>
A list of types to filter the results to specific link types. Omit this parameter to get work item links of all link types.
- types
- IEnumerable<String>
A list of types to filter the results to specific work item types. Omit this parameter to get work item links of all work item types.
- continuationToken
- String
Specifies the continuationToken to start the batch from. Omit this parameter to get the first batch of links.
Date/time to use as a starting point for link changes. Only link changes that occurred after that date/time will be returned. Cannot be used in conjunction with 'watermark' parameter.
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for