Class OperationInProgressException
Exception thrown when an operation that can only be done once at a time is attempted twice on a device.
Inheritance
Implements
Inherited Members
Namespace: Phoenix.Devices
Assembly: Phoenix.Abstractions.Devices.dll
Syntax
[Serializable]
public class OperationInProgressException : Exception, ISerializable
Constructors
View SourceOperationInProgressException()
Initializes a new instance of the OperationInProgressException class.
Declaration
public OperationInProgressException()
OperationInProgressException(SerializationInfo, StreamingContext)
Initializes a new instance of the OperationInProgressException class.
Declaration
protected OperationInProgressException(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. |
OperationInProgressException(String)
Initializes a new instance of the OperationInProgressException class.
Declaration
public OperationInProgressException(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The exception message. |
OperationInProgressException(String, IDevice)
Initializes a new instance of the OperationInProgressException class.
Declaration
public OperationInProgressException(string operationName, IDevice device)
Parameters
Type | Name | Description |
---|---|---|
System.String | operationName | The operation name. |
IDevice | device | The Device this exception is for. |
OperationInProgressException(String, Exception)
Initializes a new instance of the OperationInProgressException class.
Declaration
public OperationInProgressException(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. |