Event Handling The DB2nfoMessageEventHandler event is a delegate that represents the method that handles the InfoMessage event of a DB2Connection object. It is defined as follows: [Serializable] public delegate void DB2InfoMessageEventHandler( object sender, DB2nfoMessageEventArgs e ); where: sender is the object that generated the event. e is a DB2InfoMessageEventArgs object that describes the warning. To retrieve warning information from the DB2 server, the application should add an instance of the delegate to the event (InfoMessage property of the DB2Connection object). The event handler is called every time the event happens until the delegate is removed. For more information on events and delegates, refer to the Microsoft .NET Framework SDK documentation.