I2CDevice.Execute Method

Executes a transaction by scheduling the transfer of the data involved.

Namespace: Microsoft.SPOT.Hardware
Assembly: Microsoft.SPOT.Hardware (in microsoft.spot.hardware.dll)


public int Execute (
         I2CTransaction[] xActions,


  • xActions
    The object that contains the transaction data.
  • timeout
    The amount of time the system will wait before resuming execution of the transaction.

Return Value

The number of bytes of data transferred in the transaction.

Version Information

Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, and 4.1.

See Also


I2CDevice Class
I2CDevice Members
Microsoft.SPOT.Hardware Namespace