Delen via


ObjectEventRegistrationBase.MaxTriggerCount Property

Definition

Parameter to indicate that the subscriber should be auto-unregistered after being triggered for specified times. If the value is equal or less than zero, there is no limit on the number of times the event can be triggered without being unregistered.

public:
 property int MaxTriggerCount { int get(); void set(int value); };
public:
 property int MaxTriggerCount { int get(); void set(int value); };
public int MaxTriggerCount { get; set; }
[System.Management.Automation.Parameter]
public int MaxTriggerCount { get; set; }
member this.MaxTriggerCount : int with get, set
[<System.Management.Automation.Parameter>]
member this.MaxTriggerCount : int with get, set
Public Property MaxTriggerCount As Integer

Property Value

Attributes

Applies to