مشاركة عبر


GpioChangeCounter.Start Method

Definition

Starts counting changes in pin polarity. This method may only be called when change counting is not already active.

public:
 virtual void Start() = Start;
void Start();
public void Start();
function start()
Public Sub Start ()

Remarks

Calling Start() may enable or reconfigure interrupts for the pin.

The following exceptions can be thrown by this method:

  • HRESULT_FROM_WIN32(ERROR_BAD_COMMAND) - change counting has already been started.
  • HRESULT_FROM_WIN32(ERROR_INVALID_HANDLE) - the change counter or the associated pin has been disposed.

Applies to