AdsClientExtensions.ReadWithFallbackAsync Method (IAdsConnection, UInt32, UInt32, UInt32, Memory.Byte., CancellationToken)
Ads Read with fallback as an asynchronous operation.
Namespace: TwinCAT.Ads
Assembly: TwinCAT.Ads.Abstractions (in
TwinCAT.Ads.Abstractions.dll) Version: 6.0.328+39e3229
Syntax
C#
public static Task<ResultRead> ReadWithFallbackAsync(
this IAdsConnection connection,
uint indexGroup,
uint indexOffset,
uint fallbackOffset,
Memory<byte> buffer,
CancellationToken cancel
)
Parameters
connection |
Type: TwinCAT.Ads.IAdsConnection |
indexGroup |
Type: System.UInt32 |
indexOffset |
Type: System.UInt32 |
fallbackOffset |
Type: System.UInt32 |
buffer |
Type: System.Memory.Byte. |
cancel |
Type: System.Threading.CancellationToken |
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type IAdsConnection. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).