Class DeviceNotFoundException
Exception for corrupted file.
Inheritance
Implements
Inherited Members
Namespace: Phoenix.Devices
Assembly: Phoenix.Abstractions.Devices.dll
Syntax
[Serializable]
public class DeviceNotFoundException : Exception, ISerializable
Constructors
View SourceDeviceNotFoundException()
Initializes a new instance of the DeviceNotFoundException class.
Declaration
public DeviceNotFoundException()
DeviceNotFoundException(IDevice)
Initializes a new instance of the DeviceNotFoundException class.
Declaration
public DeviceNotFoundException(IDevice device)
Parameters
Type | Name | Description |
---|---|---|
IDevice | device | The device that was not found. |
DeviceNotFoundException(SerializationInfo, StreamingContext)
Initializes a new instance of the DeviceNotFoundException class.
Declaration
protected DeviceNotFoundException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | The SerializationInfo that holds the serialized object data about the exception being thrown. |
System.Runtime.Serialization.StreamingContext | context | The StreamingContext that contains contextual information about the source or destination. |
DeviceNotFoundException(String)
Initializes a new instance of the DeviceNotFoundException class.
Declaration
public DeviceNotFoundException(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The exception message. |
DeviceNotFoundException(String, Exception)
Initializes a new instance of the DeviceNotFoundException class.
Declaration
public DeviceNotFoundException(string message, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The exception message. |
System.Exception | innerException | The exception to use as the inner exception. |
DeviceNotFoundException(String, String)
Initializes a new instance of the DeviceNotFoundException class.
Declaration
public DeviceNotFoundException(string deviceName, string deviceTypeName)
Parameters
Type | Name | Description |
---|---|---|
System.String | deviceName | The name of the device that was not found. |
System.String | deviceTypeName | The name of the device type. |