Dela via


SystemTrigger(SystemTriggerType, Boolean) Constructor

Definition

Initializes a new instance of a system event trigger.

public:
 SystemTrigger(SystemTriggerType triggerType, bool oneShot);
 SystemTrigger(SystemTriggerType const& triggerType, bool const& oneShot);
public SystemTrigger(SystemTriggerType triggerType, bool oneShot);
function SystemTrigger(triggerType, oneShot)
Public Sub New (triggerType As SystemTriggerType, oneShot As Boolean)

Parameters

triggerType
SystemTriggerType

Specifies the system event type.

oneShot
Boolean

bool

True if the system event trigger will be used once; false if it will be used every time the event occurs.

Applies to