PulserSessionException Class
- Updated2025-01-08
- 1 minute(s) read
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
| Name | Description |
|---|---|
| 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
| Name | Description |
|---|---|
| ErrorCode | Gets the error code of the exception of PulserSessionException type. |