C# Класс WebApplications.Testing.Data.SqlErrorCollectionPrototype

Наследование: ICollection
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
SqlErrorCollectionPrototype ( ) : System

Creates the _constructor function and the _adder action.

Описание методов

Add() публичный Метод

Adds the specified error to the collection.
public Add ( SqlError error ) : void
error System.Data.SqlClient.SqlError The error.
Результат void

CopyTo() публичный Метод

public CopyTo ( Array array, int index ) : void
array System.Array
index int
Результат void

GetEnumerator() публичный Метод

public GetEnumerator ( ) : IEnumerator
Результат IEnumerator

SqlErrorCollectionPrototype() публичный Метод

Initializes a new instance of the SqlErrorCollectionPrototype class.
public SqlErrorCollectionPrototype ( [ collection ) : System
collection [ The collection.
Результат System

ToString() публичный Метод

public ToString ( ) : string
Результат string

this() публичный Метод

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.
Результат System.Data.SqlClient.SqlError