Show / Hide Table of Contents

Class DeviceNotFoundException

Exception for corrupted file.

Inheritance
System.Object
System.Exception
DeviceNotFoundException
Implements
System.Runtime.Serialization.ISerializable
Inherited Members
System.Exception.GetBaseException()
System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
System.Exception.GetType()
System.Exception.ToString()
System.Exception.Data
System.Exception.HelpLink
System.Exception.HResult
System.Exception.InnerException
System.Exception.Message
System.Exception.Source
System.Exception.StackTrace
System.Exception.TargetSite
System.Exception.SerializeObjectState
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Phoenix.Devices
Assembly: Phoenix.Abstractions.Devices.dll
Syntax
[Serializable]
public class DeviceNotFoundException : Exception, ISerializable

Constructors

View Source

DeviceNotFoundException()

Initializes a new instance of the DeviceNotFoundException class.

Declaration
public DeviceNotFoundException()
View Source

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.

View Source

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.

View Source

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.

View Source

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.

View Source

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.

Implements

System.Runtime.Serialization.ISerializable

Extension Methods

ExceptionExtensions.FormatLoaderExceptions(Exception)
ExceptionExtensions.FormatMessageAndStackTrace(Exception, Boolean)
  • View Source
In This Article
Back to top Generated by DocFX