> # Event Handling

> The event handler receives an argument of type SequeLinkInfoMessageEventArgs, which contains data relevant to an event. See "SequeLinkInfoMessageEventArgs Object" for more information.

> This event is defined as:

>     public event SequeLinkInfoMessageEventHandler InfoMessage;

> Clients that want to process warnings and informational messages sent by the database server should create a SequeLinkInfoMessageEventHandler delegate to listen to this event.

> The following code fragment defines a delegate that represents the method that handles the InfoMessage event of a SequeLinkConnection object:

>     [Serializable]
>     public delegate void SequeLinkInfoMessageEventHandler(
>       object sender
>       SequeLinkInfoMessageEventArgs e
>     );

> where sender is the object that generated the event and e is a SequeLinkInfoMessageEventArgs object that describes the warning.