Class SessionAbortedException
- Namespace
- DurableTask.Core.Exceptions
- Assembly
- DurableTask.Core.dll
Thrown when an orchestration or activity session is aborted, for example in split-brain situation or host shutdown situations.
public class SessionAbortedException : InvalidOperationException, ISerializable
- Inheritance
-
SessionAbortedException
- Implements
- Inherited Members
Constructors
SessionAbortedException()
Initializes a new instance of the SessionAbortedException class.
public SessionAbortedException()
SessionAbortedException(SerializationInfo, StreamingContext)
Initializes a new instance of the SessionAbortedException class with serialized data.
protected SessionAbortedException(SerializationInfo info, StreamingContext context)
Parameters
info
SerializationInfoThe System.Runtime.Serialization.SerializationInfo that holds the serialized object data about the exception being thrown.
context
StreamingContextThe System.Runtime.Serialization.StreamingContext that contains contextual information about the source or destination.
SessionAbortedException(string)
Initializes an new instance of the SessionAbortedException class with a specified error message
public SessionAbortedException(string message)
Parameters
message
stringThe message that describes the error.
SessionAbortedException(string, Exception)
Initializes an new instance of the SessionAbortedException class with a specified error message and a reference to the inner exception that is the cause of this exception.
public SessionAbortedException(string message, Exception innerException)