Contribution Class
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.
An individual contribution made by an extension
[System.Runtime.Serialization.DataContract]
public class Contribution : Microsoft.VisualStudio.Services.ExtensionManagement.WebApi.ContributionBase
type Contribution = class
inherit ContributionBase
Public Class Contribution
Inherits ContributionBase
- Inheritance
- Attributes
Constraints |
List of constraints (filters) that should be applied to the availability of this contribution |
Description |
Description of the contribution/type (Inherited from ContributionBase) |
Id |
Fully qualified identifier of the contribution/type (Inherited from ContributionBase) |
Includes |
Includes is a set of contributions that should have this contribution included in their targets list. |
Properties |
Properties/attributes of this contribution |
Restricted |
List of demanded claims in order for the user to see this contribution (like anonymous, public, member...). |
Targets |
The ids of the contribution(s) that this contribution targets. (parent contributions) |
Type |
Id of the Contribution Type |
Visible |
VisibleTo can be used to restrict whom can reference a given contribution/type. This value should be a list of publishers or extensions access is restricted too. Examples: "ms" - Means only the "ms" publisher can reference this. "ms.vss-web" - Means only the "vss-web" extension from the "ms" publisher can reference this. (Inherited from ContributionBase) |
Get |
Get a property value for the given contribution |
Get |
Gets the value of a property in its raw form - with values converted from JObject/JToken into strings, numbers, arrays, dictionaries. |
Is |
Is the contribution's type the specified contribution type |
Is |
Is the contribution targeting the specified contribution id |
Prodotto | Versioni |
---|---|
Azure DevOps Services .NET SDK | preview, latest |