SwitchErrorQueryResult Data Structure
- Updated2026-01-20
- 1 minute(s) read
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
| Name | Description |
|---|---|
| ErrorCode | Gets the error code returned by the driver. |
| ErrorMessage | Gets the user readable error string. |
Methods
| Name | Description |
|---|---|
| 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
| Name | Description |
|---|---|
| operator!=(SwitchErrorQueryResult, SwitchErrorQueryResult) | Checks whether the two instances of SwitchErrorQueryResult are unequal. |
| operator==(SwitchErrorQueryResult, SwitchErrorQueryResult) | Checks whether the two instances of SwitchErrorQueryResult are equal. |