OleDbInfoMessageEventArgs OleDbInfoMessageEventArgs OleDbInfoMessageEventArgs OleDbInfoMessageEventArgs Class

Definition

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

public ref class OleDbInfoMessageEventArgs sealed : EventArgs
public sealed class OleDbInfoMessageEventArgs : EventArgs
type OleDbInfoMessageEventArgs = class
    inherit EventArgs
Public NotInheritable Class OleDbInfoMessageEventArgs
Inherits EventArgs
Inheritance
OleDbInfoMessageEventArgsOleDbInfoMessageEventArgsOleDbInfoMessageEventArgsOleDbInfoMessageEventArgs

Remarks

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

Properties

ErrorCode ErrorCode ErrorCode ErrorCode

Gets the HRESULT following the ANSI SQL standard for the database.

Errors Errors Errors Errors

Gets the collection of warnings sent from the data source.

Message Message Message Message

Gets the full text of the error sent from the data source.

Source Source Source Source

Gets the name of the object that generated the error.

Methods

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Retrieves a string representation of the InfoMessage event.

Applies to