ResultReadDeviceState.CreateSuccess Method (StateInfo, UInt32)

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,
    uint invokeId
)

Parameters

state

Type: TwinCAT.Ads.StateInfo
The state.

invokeId

Type: System.UInt32
The ADS request invoke identifier.

Return Value

Type: ResultReadDeviceState
ResultValue<T>.

Reference

ResultReadDeviceState Class

CreateSuccess Overload

TwinCAT.Ads Namespace