C# Class WebApplications.Testing.Data.SqlErrorCollectionPrototype

Inheritance: ICollection
Afficher le fichier Open project: webappsuk/CoreLibraries Class Usage Examples

Méthodes publiques

Méthode Description
Add ( SqlError error ) : void

Adds the specified error to the collection.

CopyTo ( Array array, int index ) : void
GetEnumerator ( ) : IEnumerator
SqlErrorCollectionPrototype ( [ collection ) : System

Initializes a new instance of the SqlErrorCollectionPrototype class.

ToString ( ) : string
this ( int index ) : SqlError

Gets the error at the specified index.

Private Methods

Méthode Description
SqlErrorCollectionPrototype ( ) : System

Creates the _constructor function and the _adder action.

Method Details

Add() public méthode

Adds the specified error to the collection.
public Add ( SqlError error ) : void
error System.Data.SqlClient.SqlError The error.
Résultat void

CopyTo() public méthode

public CopyTo ( Array array, int index ) : void
array System.Array
index int
Résultat void

GetEnumerator() public méthode

public GetEnumerator ( ) : IEnumerator
Résultat IEnumerator

SqlErrorCollectionPrototype() public méthode

Initializes a new instance of the SqlErrorCollectionPrototype class.
public SqlErrorCollectionPrototype ( [ collection ) : System
collection [ The collection.
Résultat System

ToString() public méthode

public ToString ( ) : string
Résultat string

this() public méthode

Gets the error at the specified index.
Index parameter is outside array bounds.
public this ( int index ) : SqlError
index int The zero-based index of the error to retrieve.
Résultat System.Data.SqlClient.SqlError