PolicyEvaluationStatus Enum

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.

Status of a policy which is running against a specific pull request.

C#
[System.Runtime.Serialization.DataContract]
public enum PolicyEvaluationStatus
Inheritance
PolicyEvaluationStatus
Attributes

Fields

Name Value Description
Queued 0

The policy is either queued to run, or is waiting for some event before progressing.

Running 1

The policy is currently running.

Approved 2

The policy has been fulfilled for this pull request.

Rejected 3

The policy has rejected this pull request.

NotApplicable 4

The policy does not apply to this pull request.

Broken 5

The policy has encountered an unexpected error.

Remarks

Not all policies make use of every status. For example, policies which are based on reviewers voting do not have a Runnig state. They are generally Queued when no vote has been cast, and then transition to Approved or Rejected depending on the vote.

Applies to

Ürün Sürümler
Azure DevOps Services .NET SDK preview, latest