ResultReadAdsState Class

Result object for asynchronous reading AdsStates via tasks.

Inheritance Hierarchy

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

Syntax

C#

public class ResultReadAdsState : ResultAds

The ResultReadAdsState type exposes the following members.

Properties

 

Name

Description

ResultReadAdsState Class 1:

ResultReadAdsState Class 2:

Empty

Gets the empty ResultReadAdsState object.

ResultReadAdsState Class 3:

ErrorCode

Gets the ADS Error code bound to this Result object. (Inherited from ResultAds.)

ResultReadAdsState Class 4:

Failed

Gets a value indicating whether the ResultAds state is failed. (Inherited from ResultAds.)

ResultReadAdsState Class 5:

InvokeId

Gets the ADS requests invoke identifier (or 0 if not supported) (Inherited from ResultAds.)

ResultReadAdsState Class 6:

State

Gets the ADS state.

ResultReadAdsState Class 7:

Succeeded

Gets a value indicating whether the ResultAds state is succeeded. (Inherited from ResultAds.)

Methods

 

Name

Description

ResultReadAdsState Class 8:

CreateError

Creates an Error Result.

ResultReadAdsState Class 9:

CreateSuccess

Creates a success result.

ResultReadAdsState Class 10:

Equals

Determines whether the specified object is equal to the current object. (Inherited from Object.)

ResultReadAdsState Class 11:

Finalize

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)

ResultReadAdsState Class 12:

GetHashCode

Serves as the default hash function. (Inherited from Object.)

ResultReadAdsState Class 13:

GetType

Gets the Type of the current instance. (Inherited from Object.)

ResultReadAdsState Class 14:

MemberwiseClone

Creates a shallow copy of the current Object. (Inherited from Object.)

ResultReadAdsState Class 15:

SetError

Sets the error state of this ResultAds (Inherited from ResultAds.)

ResultReadAdsState Class 16:

ToString

Returns a string that represents the current object. (Inherited from Object.)

Reference

TwinCAT.Ads Namespace