DynamicSymbol.OnWriteValueAsync Method

Handler Function for writing value.

Namespace:  TwinCAT.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<WriteValueResult>.

Exceptions

Exception

Condition

CannotAccessVirtualSymbolException

Reference

DynamicSymbol Class

TwinCAT.TypeSystem Namespace