Sdílet prostřednictvím


SqlCeInfoMessageEventArgs Class

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

Inheritance Hierarchy

System.Object
  System.EventArgs
    System.Data.SqlServerCe.SqlCeInfoMessageEventArgs

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

Syntax

'Declaration
Public NotInheritable Class SqlCeInfoMessageEventArgs _
    Inherits EventArgs
'Usage
Dim instance As SqlCeInfoMessageEventArgs
public sealed class SqlCeInfoMessageEventArgs : EventArgs
public ref class SqlCeInfoMessageEventArgs sealed : public EventArgs
[<SealedAttribute>]
type SqlCeInfoMessageEventArgs =  
    class
        inherit EventArgs
    end
public final class SqlCeInfoMessageEventArgs extends EventArgs

The SqlCeInfoMessageEventArgs type exposes the following members.

Properties

  Name Description
Public property Errors Gets the collection of warnings sent from the data source.
Public property Message Gets the complete text of the error sent from the data source.

Top

Methods

  Name Description
Public method Equals (inherited from Object)
Protected method Finalize (inherited from Object)
Public method GetHashCode (inherited from Object)
Public method GetType (inherited from Object)
Protected method MemberwiseClone (inherited from Object)
Public method ToString Retrieves a string representation of the InfoMessage event. (Overrides Object.ToString().)

Top

Remarks

The InfoMessage event contains a SqlCeErrorCollection collection with warnings sent from the data source.

Thread Safety

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

See Also

Reference

System.Data.SqlServerCe Namespace