ResultReadDeviceState.CreateSuccess Method (StateInfo)

Creates a success result.

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

Syntax

C#

public static ResultReadDeviceState CreateSuccess(
    StateInfo state
)

Parameters

state

Type: TwinCAT.Ads.StateInfo
The state.

Return Value

Type: ResultReadDeviceState
ResultValue<T>.

Reference

ResultReadDeviceState Class

CreateSuccess Overload

TwinCAT.Ads Namespace