TaskDefinitionEndpoint Class

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.

C#
[System.Runtime.Serialization.DataContract]
public class TaskDefinitionEndpoint
Inheritance
TaskDefinitionEndpoint
Attributes

Constructors

Properties

ConnectionId

An ID that identifies a service connection to be used for authenticating endpoint requests.

KeySelector

An Json based keyselector to filter response returned by fetching the endpoint Url.A Json based keyselector must be prefixed with "jsonpath:". KeySelector can be used to specify the filter to get the keys for the values specified with Selector. The following keyselector defines an Json for extracting nodes named 'ServiceName'.

endpoint.KeySelector = "jsonpath://ServiceName";
Scope

The scope as understood by Connected Services. Essentialy, a project-id for now.

Selector

An XPath/Json based selector to filter response returned by fetching the endpoint Url. An XPath based selector must be prefixed with the string "xpath:". A Json based selector must be prefixed with "jsonpath:". The following selector defines an XPath for extracting nodes named 'ServiceName'.

endpoint.Selector = "xpath://ServiceName";
TaskId

TaskId that this endpoint belongs to.

Url

URL to GET.

Applies to

Produkt Verzie
Azure DevOps Services .NET SDK preview, latest