SynchronousOperationException 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.
Overloads
SynchronousOperationException() |
Initializes a new instance of the SynchronousOperationException class using a system-supplied message. |
SynchronousOperationException(String) |
Initializes a new instance of the SynchronousOperationException class using the specified message. |
SynchronousOperationException(String, Exception) |
Initializes a new instance of the SynchronousOperationException class using a specified error message and a reference to the inner exception that is the cause of this exception. |
SynchronousOperationException()
Initializes a new instance of the SynchronousOperationException class using a system-supplied message.
public SynchronousOperationException ();
Public Sub New ()
Applies to
SynchronousOperationException(String)
Initializes a new instance of the SynchronousOperationException class using the specified message.
public SynchronousOperationException (string message);
new System.Web.Mvc.Async.SynchronousOperationException : string -> System.Web.Mvc.Async.SynchronousOperationException
Public Sub New (message As String)
Parameters
- message
- String
The message that describes the exception. The caller of this constructor must make sure that this string has been localized for the current system culture.
Applies to
SynchronousOperationException(String, Exception)
Initializes a new instance of the SynchronousOperationException class using a specified error message and a reference to the inner exception that is the cause of this exception.
public SynchronousOperationException (string message, Exception innerException);
new System.Web.Mvc.Async.SynchronousOperationException : string * Exception -> System.Web.Mvc.Async.SynchronousOperationException
Public Sub New (message As String, innerException As Exception)
Parameters
- message
- String
The message that describes the exception. The caller of this constructor must make sure that this string has been localized for the current system culture.
- innerException
- Exception
The exception that is the cause of the current exception. If the innerException
parameter is not null, the current exception is raised in a catch block that handles the inner exception.