Table of Contents

Class CantHandleException

Namespace
Microsoft.AutoGen.Contracts
Assembly
Microsoft.AutoGen.Contracts.dll

Exception thrown when a handler cannot process the given message.

public class CantHandleException : Exception, ISerializable
Inheritance
CantHandleException
Implements
Inherited Members

Constructors

CantHandleException()

Initializes a new instance of the CantHandleException class.

public CantHandleException()

CantHandleException(string)

Initializes a new instance of the CantHandleException class with a custom error message.

public CantHandleException(string message)

Parameters

message string

The custom error message.

CantHandleException(string, Exception)

Initializes a new instance of the CantHandleException class with a custom error message and an inner exception.

public CantHandleException(string message, Exception innerException)

Parameters

message string

The custom error message.

innerException Exception

The inner exception that caused this error.