ResultAccess.SetError Method

Sets the error to this ResultAccess object.

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

Syntax

C#

public void SetError(
    int errorCode
)

Parameters

errorCode

Type: System.Int32
The error code.

Reference

ResultAccess Class

TwinCAT.ValueAccess Namespace