ErrorEventArgs Konstruktory
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
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
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
Wyjątki
Parametr exception ma wartość null.