SqlCeConnection.InfoMessage Event
.NET Framework 2.0
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)
Assembly: System.Data.SqlServerCe (in system.data.sqlserverce.dll)
'Declaration Public Event InfoMessage As SqlCeInfoMessageEventHandler 'Usage Dim instance As SqlCeConnection Dim handler As SqlCeInfoMessageEventHandler AddHandler instance.InfoMessage, handler
/** @event */ public void add_InfoMessage (SqlCeInfoMessageEventHandler value) /** @event */ public void remove_InfoMessage (SqlCeInfoMessageEventHandler value)
JScript supports the use of events, but not the declaration of new ones.
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 Mobile. Messages that raise an error cause the connection to close.
Windows CE, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows XP Professional x64 Edition, Windows XP SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.
Community Additions
ADD
Show: