Constructor OperationFailedException
OperationFailedException()
default constructor.
Declaration
public OperationFailedException()
OperationFailedException(String)
overloaded constructor, takes the reason as parameter.
Declaration
public OperationFailedException(string reason)
Parameters
Type | Name | Description |
---|---|---|
System.String | reason |
OperationFailedException(String, Boolean)
overloaded constructor, takes the reason as parameter.
Declaration
public OperationFailedException(string reason, bool isTracable)
Parameters
Type | Name | Description |
---|---|---|
System.String | reason | |
System.Boolean | isTracable |
OperationFailedException(String, Exception)
overloaded constructor.
Declaration
public OperationFailedException(string reason, Exception inner)
Parameters
Type | Name | Description |
---|---|---|
System.String | reason | reason for exception |
Exception | inner | nested exception |
OperationFailedException(String, Exception, Boolean)
overloaded constructor.
Declaration
public OperationFailedException(string reason, Exception inner, bool isTracable)
Parameters
Type | Name | Description |
---|---|---|
System.String | reason | reason for exception |
Exception | inner | nested exception |
System.Boolean | isTracable |
OperationFailedException(SerializationInfo, StreamingContext)
overloaded constructor, manual serialization.
Declaration
protected OperationFailedException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
SerializationInfo | info | |
StreamingContext | context |