Symbol.OnWriteValueAsync Method

Handler function for writing the dynamic value

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

Syntax

C#

protected virtual Task<ResultWriteAccess> OnWriteValueAsync(
    Object value,
    CancellationToken cancel
)

Parameters

value

Type: System.Object
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