OdbcInfoMessageEventArgs Class

Provides data for the InfoMessage event.


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

Public NotInheritable Class OdbcInfoMessageEventArgs _
	Inherits EventArgs

The OdbcInfoMessageEventArgs type exposes the following members.

Public propertyErrorsGets the collection of warnings sent from the data source.
Public propertyMessageGets the full text of the error sent from the database.

Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodToStringRetrieves a string representation of the InfoMessage event. (Overrides Object.ToString.)

The InfoMessage event contains an OdbcErrorCollection collection with warnings sent from the data source.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft