Class BackgroundWorkException
This Exception is thrown when an exception during background work appears.
Inheritance
Implements
Namespace: Sartorius.SAF.Threading
Assembly: Sartorius.SAF.dll
Syntax
[Serializable]
public class BackgroundWorkException : Exception, ISerializable
Constructors
View SourceBackgroundWorkException()
Creates a new instance of the BackgroundWorkException class.
Declaration
public BackgroundWorkException()
BackgroundWorkException(Exception)
Initializes a new instance of the BackgroundWorkException class.
Declaration
public BackgroundWorkException(Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
System.Exception | innerException | The inner System.Exception. |
BackgroundWorkException(SerializationInfo, StreamingContext)
Initializes a new instance of the BackgroundWorkException class.
Declaration
protected BackgroundWorkException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | The System.Runtime.Serialization.SerializationInfo that holds the serialized object data about the exception being thrown. |
System.Runtime.Serialization.StreamingContext | context | The System.Runtime.Serialization.StreamingContext that contains contextual information about the source or destination. |
BackgroundWorkException(String)
Creates a new instance of the BackgroundWorkException class.
Declaration
public BackgroundWorkException(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The error message that explains the reason for the exception. |
BackgroundWorkException(String, Exception)
Creates a new instance of the BackgroundWorkException class.
Declaration
public BackgroundWorkException(string message, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The error message that explains the reason for the exception. |
System.Exception | innerException | The inner exception. |