Class OperationFailedException
Exception thrown when a create, update, delete, or other operation has failed
Implements
Namespace: Seltzr.Exceptions
Assembly: Seltzr.dll
Syntax
C#
public class OperationFailedException : ApiException, ISerializable
Constructors
Initializes a new instance of the OperationFailedException class
C#
public OperationFailedException()
Initializes a new instance of the OperationFailedException class
C#
public OperationFailedException(string message)
Parameters
message
String
A message explaining the exception
Initializes a new instance of the OperationFailedException class
C#
public OperationFailedException(string message, Exception inner)
Parameters
message
String
A message explaining the exception
inner
Exception
The inner exception that caused this one
Initializes a new instance of the OperationFailedException class
C#
public OperationFailedException(string message, Exception inner, int errorCode)
Parameters
message
String
A message explaining the exception
inner
Exception
The inner exception that caused this one
errorCode
Int32
A unique error code for the error that occurred
Initializes a new instance of the OperationFailedException class
C#
public OperationFailedException(string message, int errorCode)
Parameters
message
String
A message explaining the exception
errorCode
Int32
A unique error code for the error that occurred