NotificationSubscriptionCreateParameters 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.

Parameters for creating a new subscription. A subscription defines criteria for matching events and how the subscription's subscriber should be notified about those events.

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

Constructors

Properties

Channel

Channel for delivering notifications triggered by the new subscription.

Description

Brief description for the new subscription. Typically describes filter criteria which helps identity the subscription.

Filter

Matching criteria for the new subscription. ExpressionFilter

Scope

The container in which events must be published from in order to be matched by the new subscription. If not specified, defaults to the current host (typically an account or project collection). For example, a subscription scoped to project A will not produce notifications for events published from project B.

Subscriber

User or group that will receive notifications for events matching the subscription's filter criteria. If not specified, defaults to the calling user.

Applies to

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