ErrorEventArgs
Namespace: Wisej.AI
Assembly: Wisej.AI
Provides data for the Error event in a SmartSession.
- C#
- VB.NET
public class ErrorEventArgs : HandledEventArgs
Public Class ErrorEventArgs
Inherits HandledEventArgs
Constructors
ErrorEventArgs(session, exception, replacementMessage)
Initializes a new instance of the ErrorEventArgs class.
| Name | Type | Description |
|---|---|---|
| session | SmartSession | The SmartSession where the error occurred. |
| exception | Exception | The exception that was thrown. |
| replacementMessage | Message | The message to replace the original answer, if applicable. |
Properties
Exception
Exception: Gets the exception that was thrown.
ReplacementMessage
Message: Gets or sets the message to replace the original answer, if applicable.
Session
SmartSession: Gets the SmartSession where the error occurred.
Used By
| Name | Description |
|---|---|
| SmartSession.ErrorEventHandler | Represents the method that will handle an error event in a SmartSession. |