ProviderI2cTransferResult Struct
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides information about whether the data transfers that the ReadPartial, WritePartial, or WriteReadPartial method performed succeeded, and the actual number of bytes the method transferred.
public value class ProviderI2cTransferResult
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Devices.DevicesLowLevelContract, 131072)]
struct ProviderI2cTransferResult
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Devices.DevicesLowLevelContract), 131072)]
public struct ProviderI2cTransferResult
var providerI2cTransferResult = {
status : /* Your value */,
bytesTransferred : /* Your value */
}
Public Structure ProviderI2cTransferResult
- Inheritance
-
ProviderI2cTransferResult
- Attributes
Windows requirements
Device family |
Windows IoT Extension SDK (introduced in 10.0.10586.0)
Windows 10 Anniversary Edition (introduced in 10.0.14393.0) |
API contract |
Windows.Devices.DevicesLowLevelContract (introduced in v2.0)
|
Fields
BytesTransferred |
The actual number of bytes that the operation actually transferred. The following table describes what this value represents for each method.
|
||||||||
Status |
An enumeration value that indicates if the read or write operation transferred the full number of bytes that the method requested, or the reason that the full transfer did not succeed. For WriteReadPartial, the value indicates whether the data for both the write and the read operations was entirely transferred. |