IAdsStateControl.WriteControlAsync Method (AdsState, UInt16, ReadOnlyMemory`1, Void)

Namespace:  TwinCAT.Ads
Assembly:  TwinCAT.Ads.Abstractions (in TwinCAT.Ads.Abstractions.dll) Version: 5.0.294+Branch.releases-5.0.Sha.90bb9a1b43b6095934fddca3e72bc0ea15da1c14

Syntax

C#

Task<ResultAds> WriteControlAsync(
    AdsState state,
    ushort deviceState,
    ReadOnlyMemory data,
    void cancel
)

Parameters

state

Type: TwinCAT.Ads.AdsState

deviceState

Type: System.UInt16

data

Type: ReadOnlyMemory

cancel

Type: System.Void

Return Value

Type: Task.ResultAds.

Reference

IAdsStateControl Interface

WriteControlAsync Overload

TwinCAT.Ads Namespace