JSRDotNETSDK Reference

# EventArgsInstrumentDiscovered.CreateErrorEvent Method

See Also

Static function to create an EventArgsInstrumentDiscovered object to notify that an exception has occurred during the discovery process.

Namespace: JSRDotNETSDK
Assembly: JSRDotNETSDK (in JSRDotNETSDK.dll)
Syntax

VB
C#
C++
JScript
Copy

    public static EventArgsInstrumentDiscovered CreateErrorEvent(
       ExceptionJSRDotNET eJSR,
       DiscoveryStateFlags stateFlags = DiscoveryStateFlags.ACTIVE
    )

    This language is not supported or no code example is available.

#### Parameters

eJSR

  Type: ExceptionJSRDotNET

  The exception which occurred.

stateFlags

  Type: DiscoveryStateFlags

  The new discovery state. If omitted, assumes still active. If this error is fatal, specific STOPPED_ON_ERR

#### Return Value

The new discovery error event.
See Also

#### Reference

EventArgsInstrumentDiscovered Class
EventArgsInstrumentDiscovered Members
JSRDotNETSDK Namespace