Class DeviceProviderException
Serves as the base class for application-defined exceptions.
Implements
Inherited Members
Namespace: RGB.NET.Core
Assembly: RGB.NET.Core.dll
Syntax
public class DeviceProviderException : ApplicationException, ISerializable
Constructors
| Edit this page View SourceDeviceProviderException(Exception?, bool)
Initializes a new instance of the DeviceProviderException class.
Declaration
public DeviceProviderException(Exception? innerException, bool isCritical)
Parameters
Type | Name | Description |
---|---|---|
Exception | innerException | The exception that is the casue of the current exception or null if this exception was thrown on purpose. |
bool | isCritical | A value indicating if the exception is critical and shouldn't be ignored. |
Properties
| Edit this page View SourceIsCritical
Gets a bool indicating if the exception is critical and shouldn't be ingored.
Declaration
public bool IsCritical { get; }
Property Value
Type | Description |
---|---|
bool |