Export (0) Print
Expand All

SqlCeConnection::InfoMessage Event

Occurs when the .NET Compact Framework Data Provider for SQL Server sends a warning or an informational message.

Namespace:  System.Data.SqlServerCe
Assembly:  System.Data.SqlServerCe (in System.Data.SqlServerCe.dll)

public:
 event SqlCeInfoMessageEventHandler^ InfoMessage {
	void add (SqlCeInfoMessageEventHandler^ value);
	void remove (SqlCeInfoMessageEventHandler^ value);
}

Clients that want to process warnings or informational messages sent by the server should create a SqlCeInfoMessageEventHandler delegate to listen to this event.

The InfoMessage event fires when a message with low severity is returned by SQL Server Compact. Messages that raise an error cause the connection to close.

Show:
© 2014 Microsoft