Symbol.OnWriteRawValueAsync Method

Handler function Writing the raw value asynchronously.

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

Syntax

C#

protected virtual Task<ResultWriteAccess> OnWriteRawValueAsync(
    ReadOnlyMemory<byte> value,
    CancellationToken cancel
)

Parameters

value

Type: System.ReadOnlyMemory.Byte.
The value.

cancel

Type: System.Threading.CancellationToken
The cancellation token.

Return Value

Type: Task.ResultWriteAccess.
Task<ResultWriteAccess>.

Exceptions

Exception

Condition

CannotAccessVirtualSymbolException

Reference

Symbol Class

TwinCAT.Ads.TypeSystem Namespace