Export (0) Print
Expand All

SqlInfoMessageEventArgs Class

Provides data for the InfoMessage event. This class cannot be inherited.

For a list of all members of this type, see SqlInfoMessageEventArgs Members.

System.Object
   System.EventArgs
      System.Data.SqlClient.SqlInfoMessageEventArgs

[Visual Basic]
NotInheritable Public Class SqlInfoMessageEventArgs
   Inherits EventArgs
[C#]
public sealed class SqlInfoMessageEventArgs : EventArgs
[C++]
public __gc __sealed class SqlInfoMessageEventArgs : public
   EventArgs
[JScript]
public class SqlInfoMessageEventArgs extends EventArgs

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Remarks

The InfoMessage event contains a SqlErrorCollection collection which contains the warnings sent from the server.

An InfoMessage event is generated when a SQL Server message with a severity level of 10 or less occurs.

Requirements

Namespace: System.Data.SqlClient

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

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

See Also

SqlInfoMessageEventArgs Members | System.Data.SqlClient Namespace

Show:
© 2014 Microsoft