Defines properties and methods that represent the the result of a error query.

Derives from

None

Syntax

Namespace: NationalInstruments.ModularInstruments.NISwitch

public struct SwitchErrorQueryResult

Remarks

For more information, refer to NI Switches Help.

Thread Safety

All members of this type are safe for multithreaded operations.

Properties

NameDescription
ErrorCode

Gets the error code returned by the driver.

ErrorMessage

Gets the user readable error string.

Methods

NameDescription
Equals(SwitchErrorQueryResult)

Determines whether the current instance of SwitchErrorQueryResult and the user specified SwitchErrorQueryResult object are equal.

Equals(object)

Determines whether the current instance of SwitchErrorQueryResult and the user specified object are equal.

GetHashCode()

Returns the hash code for the current instance of SwitchErrorQueryResult.

Operators

NameDescription
operator!=(SwitchErrorQueryResult, SwitchErrorQueryResult)

Checks whether the two instances of SwitchErrorQueryResult are unequal.

operator==(SwitchErrorQueryResult, SwitchErrorQueryResult)

Checks whether the two instances of SwitchErrorQueryResult are equal.