DynamicSymbol.OnWriteRawValueAsync Method

Handler function for writing the raw DynamicSymbol value.

Namespace:  TwinCAT.TypeSystem
Assembly:  TwinCAT.Ads (in TwinCAT.Ads.dll) Version: 6.0.328+39e3229

Syntax

C#

protected virtual Task<ResultWriteAccess> OnWriteRawValueAsync(
    byte[] rawValue,
    CancellationToken cancel
)

Parameters

rawValue

Type: .System.Byte.
The raw value to write.

cancel

Type: System.Threading.CancellationToken
The cancellation token.

Return Value

Type: Task.ResultWriteAccess.
An asynchronous task object that represents the 'OnWriteRawValue' operation and returns a ResultWriteAccess as result.

Reference

DynamicSymbol Class

TwinCAT.TypeSystem Namespace