Table of Contents

Class OrchestrationException

Namespace
DurableTask.Core.Exceptions
Assembly
DurableTask.Core.dll

Represents errors created during orchestration execution

public class OrchestrationException : Exception, ISerializable
Inheritance
OrchestrationException
Implements
Derived
Inherited Members

Constructors

OrchestrationException()

Initializes an new instance of the OrchestrationException class

public OrchestrationException()

OrchestrationException(int, string, Exception)

Initializes an new instance of the OrchestrationException class with a specified event id and error message and a reference to the inner exception that is the cause of this exception.

public OrchestrationException(int eventId, string message, Exception innerException)

Parameters

eventId int

EventId of the error.

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.

OrchestrationException(SerializationInfo, StreamingContext)

Initializes a new instance of the OrchestrationException class with serialized data.

protected OrchestrationException(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.

OrchestrationException(string)

Initializes an new instance of the OrchestrationException class with a specified error message

public OrchestrationException(string message)

Parameters

message string

The message that describes the error.

OrchestrationException(string, Exception)

Initializes an new instance of the OrchestrationException class with a specified error message and a reference to the inner exception that is the cause of this exception.

public OrchestrationException(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.

Properties

EventId

Gets or sets the EventId of the exception

public int EventId { get; set; }

Property Value

int

Methods

GetObjectData(SerializationInfo, StreamingContext)

public override void GetObjectData(SerializationInfo info, StreamingContext context)

Parameters

info SerializationInfo
context StreamingContext