ErrorEventArgs Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the ErrorEventArgs class.
Overloads
ErrorEventArgs(Exception) |
Initializes a new instance of the ErrorEventArgs class with the specified exception. |
ErrorEventArgs(Boolean, Exception) |
Initializes a new instance of the ErrorEventArgs class with the specified cancel state and exception. |
ErrorEventArgs(Exception)
Initializes a new instance of the ErrorEventArgs class with the specified exception.
public:
ErrorEventArgs(Exception ^ exception);
public ErrorEventArgs (Exception exception);
new System.IdentityModel.Services.ErrorEventArgs : Exception -> System.IdentityModel.Services.ErrorEventArgs
Public Sub New (exception As Exception)
Parameters
Exceptions
exception
is null
.
Remarks
The Cancel property of the new ErrorEventArgs instance is initialized to false
; the event is not cancelled.
Applies to
ErrorEventArgs(Boolean, Exception)
Initializes a new instance of the ErrorEventArgs class with the specified cancel state and exception.
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)
Parameters
Exceptions
exception
is null
.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om