Share via


AgentThreadOperationException Constructors

Definition

Overloads

AgentThreadOperationException()

Initializes a new instance of the AgentThreadOperationException class.

AgentThreadOperationException(String)

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

AgentThreadOperationException(String, Exception)

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

AgentThreadOperationException()

Initializes a new instance of the AgentThreadOperationException class.

public AgentThreadOperationException();
Public Sub New ()

Applies to

AgentThreadOperationException(String)

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

public AgentThreadOperationException(string? message);
new Microsoft.SemanticKernel.Agents.AgentThreadOperationException : string -> Microsoft.SemanticKernel.Agents.AgentThreadOperationException
Public Sub New (message As String)

Parameters

message
String

The error message that explains the reason for the exception.

Applies to

AgentThreadOperationException(String, Exception)

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

public AgentThreadOperationException(string? message, Exception? innerException);
new Microsoft.SemanticKernel.Agents.AgentThreadOperationException : string * Exception -> Microsoft.SemanticKernel.Agents.AgentThreadOperationException
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