MessagesEventHandler
Namespace: Wisej.AI
Assembly: Wisej.AI
Represents the method that will handle message-related events for the SmartSession object.
- C#
- VB.NET
public delegate void MessagesEventHandler(Object sender, MessagesEventArgs e)
Public Delegate Sub MessagesEventHandler(ByVal sender As [Object], ByVal e As MessagesEventArgs)
Parameters
| Name | Type | Description |
|---|---|---|
| sender | Object | The source of the event. |
| e | MessagesEventArgs | A MessagesEventArgs that contains the event data. |
Fired By
| Name | Description |
|---|---|
| SmartObject.BeforeSendRequest | Occurs before a request is sent. |
| SmartObject.AfterResponseReceived | Occurs after a response is received. |
| SmartObject.PrepareMessages | Occurs after the messages have been prepared and before they are send to the AI. |