Table of Contents

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 SerializationInfo

The System.Runtime.Serialization.SerializationInfo that holds the serialized object data about the exception being thrown.

context StreamingContext

The 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 string

The 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)

Parameters

message string

The message that describes the error.

innerException Exception

The exception that is the cause of the current exception, or a null reference if no inner exception is specified.