JSRDotNETSDK Reference

# EventArgsInstrumentDiscovered Members

EventArgsInstrumentDiscovered Class Constructors Methods Properties See Also

When an instrument is discovered, the instrument discovery event handler is called. This is Event Arguments object which contains information about discovered instrument, or error information if an exception occurred.

The following tables list the members exposed by the EventArgsInstrumentDiscovered type.

Constructors

| Name | Description
--- | --- | ---
| EventArgsInstrumentDiscovered | Specialised constructor for the static factory commands to use to initialize an EventArgsInstrumentDiscovered object.

Top
Properties

| Name | Description
--- | --- | ---
| DiscoverState | Gets or sets the state of the discovery system.
| InstrumentId | Gets the identifier of the instrument.
| JSRException | If an error occurs during discovery, and exception might get generated. In this case this field will contain that exception object. If no error occurred, this will be null.
| NotifyType | Gets or sets the type of the event that occurred
| PulserReceiverIds | Gets an array of identifiers of the pulser receivers contained within the discovered instrument. Important: Some instrument plugins may fire this event with this array having length 0 to signify that no instruments were found. This does not apply to USB, but does apply to the DPR series instruments.

Top
Methods

| Name | Description
--- | --- | ---
| CreateCompleteEvent | Static function to create an EventArgsInstrumentDiscovered object to notify that Discovery is complete - if it applies to the interface type.
| CreateErrorEvent | Static function to create an EventArgsInstrumentDiscovered object to notify that an exception has occurred during the discovery process.
| CreateNewInstrumentEvent | Static function to create an EventArgsInstrumentDiscovered object to notify that a new Instrument has been discovered.
| CreateStartedEvent | Static function to create an EventArgsInstrumentDiscovered object to notify that Discovery has started.
| Equals | (Overloaded) Determines whether the specified Object is equal to the current Object. (inherited from Object).
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object).
| GetHashCode | Serves as a hash function for a particular type. (inherited from Object).
| GetType | (Overloaded) Gets the Type of the current instance. (inherited from Object).
| MemberwiseClone | Creates a shallow copy of the current Object. (inherited from Object).
| ReferenceEquals | Determines whether the specified Object instances are the same instance. (inherited from Object).
| ToString | Returns a String that represents the current Object. (inherited from Object).

Top
See Also

#### Reference

EventArgsInstrumentDiscovered Class
JSRDotNETSDK Namespace