Język

ErrorEventArgs Konstruktory

Definicja

Inicjuje nowe wystąpienie klasy ErrorEventArgs.

Przeciążenia

Nazwa Opis
ErrorEventArgs(Exception)

Inicjuje nowe wystąpienie ErrorEventArgs klasy z określonym wyjątkiem.

ErrorEventArgs(Boolean, Exception)

Inicjuje nowe wystąpienie ErrorEventArgs klasy z określonym stanem anulowania i wyjątkiem.

ErrorEventArgs(Exception)

Inicjuje nowe wystąpienie ErrorEventArgs klasy z określonym wyjątkiem.

public:
 ErrorEventArgs(Exception ^ exception);
public ErrorEventArgs(Exception exception);
new System.IdentityModel.Services.ErrorEventArgs : Exception -> System.IdentityModel.Services.ErrorEventArgs
Public Sub New (exception As Exception)

Parametry

exception
Exception

Wyjątek, który wystąpił. Ustawia właściwość Exception.

Wyjątki

Parametr exception ma wartość null.

Uwagi

Właściwość Cancel nowego ErrorEventArgs wystąpienia jest inicjowana do false; zdarzenie nie jest anulowane.

Dotyczy

ErrorEventArgs(Boolean, Exception)

Inicjuje nowe wystąpienie ErrorEventArgs klasy z określonym stanem anulowania i wyjątkiem.

public:
 ErrorEventArgs(bool cancel, Exception ^ exception);
public ErrorEventArgs(bool cancel, Exception exception);
new System.IdentityModel.Services.ErrorEventArgs : bool * Exception -> System.IdentityModel.Services.ErrorEventArgs
Public Sub New (cancel As Boolean, exception As Exception)

Parametry

cancel
Boolean

Początkowy stan anulowania. Ustawia właściwość Cancel.

exception
Exception

Wyjątek, który wystąpił. Ustawia właściwość Exception.

Wyjątki

Parametr exception ma wartość null.

Dotyczy