Share via


DeclarativeWorkflowException Constructors

Definition

Overloads

Name Description
DeclarativeWorkflowException()

Initializes a new instance of the DeclarativeWorkflowException class.

DeclarativeWorkflowException(String)

Initializes a new instance of the DeclarativeWorkflowException class with a specified error message.

DeclarativeWorkflowException(String, Exception)

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

DeclarativeWorkflowException()

Initializes a new instance of the DeclarativeWorkflowException class.

public DeclarativeWorkflowException();
Public Sub New ()

Applies to

DeclarativeWorkflowException(String)

Initializes a new instance of the DeclarativeWorkflowException class with a specified error message.

public DeclarativeWorkflowException(string? message);
new Microsoft.Agents.AI.Workflows.Declarative.DeclarativeWorkflowException : string -> Microsoft.Agents.AI.Workflows.Declarative.DeclarativeWorkflowException
Public Sub New (message As String)

Parameters

message
String

The error message that explains the reason for the exception.

Applies to

DeclarativeWorkflowException(String, Exception)

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

public DeclarativeWorkflowException(string? message, Exception? innerException);
new Microsoft.Agents.AI.Workflows.Declarative.DeclarativeWorkflowException : string * Exception -> Microsoft.Agents.AI.Workflows.Declarative.DeclarativeWorkflowException
Public Sub New (message As String, innerException As Exception)

Parameters

message
String

The error message that explains the reason for the exception.

innerException
Exception

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

Applies to