ResultPair Class

Represents a result pair that contains the ErrorValue and a String that describes the result of a method call.

Inheritance Hierarchy

System.Object
  TcHmiSrv.IObject
    TcHmiSrv.ResultPair
Namespace:  TcHmiSrv
Assembly:  TcHmiSrvExtNet (in TcHmiSrvExtNet.dll) Version: 3.0.0.0

Syntax

C#

public class ResultPair : IObject, IEquatable<ResultPair>

The ResultPair type exposes the following members.

Constructors

 

Name

Description

ResultPair Class 1:

ResultPair.

Initializes a new empty instance of the ResultPair class.

ResultPair Class 2:

ResultPair(ErrorValue)

Initializes a new instance of the ResultPair class.

ResultPair Class 3:

ResultPair(ResultPair)

Initializes a new instance of the ResultPair class based on another ResultPair.

ResultPair Class 4:

ResultPair(ErrorValue, String)

Initializes a new instance of the ResultPair class.

Properties

 

Name

Description

ResultPair Class 5:

Result

Gets or sets the ErrorValue.

ResultPair Class 6:

Text

Gets or sets the textual representation or further description of the result code.

Methods

 

Name

Description

ResultPair Class 7:

Dispose.

(Inherited from IObject.)

ResultPair Class 8:

Dispose(Boolean)

Releases the unmanaged resources used by the ResultPair and optionally releases the managed resources (Overrides IObject.Dispose(Boolean).)

ResultPair Class 9:

Equals(Object)

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

ResultPair Class 10:

Equals(ResultPair)

Indicates whether the current ResultPair is equal to another ResultPair.

ResultPair Class 11:

Finalize

(Inherited from IObject.)

ResultPair Class 12:

GetHashCode

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

ResultPair Class 13:

GetType

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

ResultPair Class 14:

MemberwiseClone

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

ResultPair Class 15:

swap

Exchanges the values of two instances of the ResultPair class.

ResultPair Class 16:

ToString

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

Operators

 

Name

Description

ResultPair Class 17:

ResultPair Class 18:

Equality

Determines whether two instances of the ResultPair class are equal.

ResultPair Class 19:

ResultPair Class 20:

Inequality

Determines whether two instances of the ResultPair class are not equal.

Reference

TcHmiSrv Namespace