ResultSumCommand Class

Result class for an asynchronous TwinCAT.Ads.SumCommand:

Inheritance Hierarchy

System.Object
  TwinCAT.Ads.ResultAds
    TwinCAT.Ads.SumCommand.ResultSumCommand
      TwinCAT.Ads.SumCommand.ResultSumHandles
      TwinCAT.Ads.SumCommand.ResultSumReadRaw
      TwinCAT.Ads.SumCommand.ResultSumValues
      TwinCAT.Ads.SumCommand.ResultSumValues2.S.
Namespace:  TwinCAT.Ads.SumCommand
Assembly:  TwinCAT.Ads.Abstractions (in TwinCAT.Ads.Abstractions.dll) Version: 6.0.328+39e3229

Syntax

C#

public class ResultSumCommand : ResultAds

The ResultSumCommand type exposes the following members.

Properties

 

Name

Description

ResultSumCommand Class 1:

ErrorCode

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

ResultSumCommand Class 2:

Failed

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

ResultSumCommand Class 3:

FirstSubError

Gets the first SubError that is not NoError

ResultSumCommand Class 4:

InvokeId

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

ResultSumCommand Class 5:

OverallError

Gets the Overall (combined error) from SumCommand AND SubCommands.

ResultSumCommand Class 6:

OverallFailed

Gets a value indicating, whether the overall Sumcommand failed (checking all subcommand results).

ResultSumCommand Class 7:

OverallSucceeded

Gets a value indicating, whether the overall SumCommand succeeded (including all subcommands)

ResultSumCommand Class 8:

SubErrors

Gets the Error codes for the single SumCommands.

ResultSumCommand Class 9:

Succeeded

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

Methods

 

Name

Description

ResultSumCommand Class 10:

Equals

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

ResultSumCommand 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.)

ResultSumCommand Class 12:

GetHashCode

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

ResultSumCommand Class 13:

GetType

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

ResultSumCommand Class 14:

MemberwiseClone

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

ResultSumCommand Class 15:

SetError

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

ResultSumCommand Class 16:

ToString

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

Remarks

The result contains the overall ErrorCode of the SumComand OverallError and all the Suberrors of the SubRequests SubErrors.

Reference

TwinCAT.Ads.SumCommand Namespace