I2CDevice.I2CTransaction Constructor
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Initializes a new instance of the I2CDevice..::..I2CTransaction class.
Namespace: Microsoft.SPOT.Hardware
Assembly: Microsoft.SPOT.Hardware (in Microsoft.SPOT.Hardware.dll)
Syntax
'Declaration
Protected Sub New ( _
buffer As Byte() _
)
protected I2CTransaction(
byte[] buffer
)
protected:
I2CTransaction(
array<unsigned char>^ buffer
)
new :
buffer:byte[] -> I2CTransaction
protected function I2CDevice..::..I2CTransaction(
buffer : byte[]
)
Parameters
- buffer
Type: array<System. . :: . .Byte> [] () [] []
The buffer containing the transaction data to write or the space to store the data after it is read.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.