Represents the exception that is thrown when an NI-Pulser driver error occurs.

Derives from

  • Exception

Syntax

Namespace: NationalInstruments.ECUTS.Pulser

public class PulserSessionException : Exception

Remarks

Use this class to handle exceptions that you expect the NI-Pulser driver to throw.

Constructors

NameDescription
PulserSessionException(Exception, ErrorCode, string, params object[])

Initializes a new instance of the PulserSessionException class with a reference to the inner exception that causes this exception, an error code, and an error message.

PulserSessionException(ErrorCode, string, params object[])

Initializes a new instance of the PulserSessionException class with an error code and an error message.

Properties

NameDescription
ErrorCode

Gets the error code of the exception of PulserSessionException type.