ObjectEventRegistrationBase.MaxTriggerCount Property
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.
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