Execute Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

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

Namespace:  Microsoft.SPOT.Hardware
Assembly:  Microsoft.SPOT.Hardware (in Microsoft.SPOT.Hardware.dll)

Syntax

'Declaration
Public Function Execute ( _
    xActions As I2CDevice.I2CTransaction(), _
    timeout As Integer _
) As Integer
public int Execute(
    I2CDevice.I2CTransaction[] xActions,
    int timeout
)
public:
int Execute(
    array<I2CDevice::I2CTransaction^>^ xActions, 
    int timeout
)
member Execute : 
        xActions:I2CDevice.I2CTransaction[] * 
        timeout:int -> int 
public function Execute(
    xActions : I2CDevice..::..I2CTransaction[], 
    timeout : int
) : int

Parameters

  • timeout
    Type: System. . :: . .Int32
    The amount of time the system will wait before resuming execution of the transaction.

Return Value

Type: System. . :: . .Int32
The number of bytes of data transferred in the transaction.

.NET Framework Security

See Also

Reference

I2CDevice Class

Microsoft.SPOT.Hardware Namespace