Class OperationException
- Namespace
- NexusRpc
- Assembly
- NexusRpc.dll
Operation failed or was canceled.
public class OperationException : Exception, ISerializable
- Inheritance
-
OperationException
- Implements
- Inherited Members
Properties
State
Gets the operation state.
public OperationState State { get; }
Property Value
Methods
CreateCanceled(string, Exception?)
Create an operation exception representing an canceled operation.
public static OperationException CreateCanceled(string message, Exception? innerException = null)
Parameters
Returns
- OperationException
Operation exception.
CreateFailure(string, Exception?)
Create an operation exception representing an operation failure.
public static OperationException CreateFailure(string message, Exception? innerException = null)
Parameters
Returns
- OperationException
Operation exception.