InfoMessage Event
Collapse the table of content
Expand the table of content

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
/** @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.

  • Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see .

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.

.NET Compact Framework

Supported in: 2.0, 1.0

Community Additions

ADD
Show:
© 2016 Microsoft