Show / Hide Table of Contents

Class OperationInProgressException

Exception thrown when an operation that can only be done once at a time is attempted twice on a device.

Inheritance
System.Object
System.Exception
OperationInProgressException
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 OperationInProgressException : Exception, ISerializable

Constructors

View Source

OperationInProgressException()

Initializes a new instance of the OperationInProgressException class.

Declaration
public OperationInProgressException()
View Source

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.

View Source

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.

View Source

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.

View Source

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.

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