Table of Contents

Class SynchronousOperationException

Namespace
System.Web.Mvc.Async
Assembly
System.Web.Mvc.dll

Represents an exception that occurred during the synchronous processing of an HTTP request in an ASP.NET MVC application.

public sealed class SynchronousOperationException : HttpException
Inheritance
SynchronousOperationException

Constructors

SynchronousOperationException()

Initializes a new instance of the SynchronousOperationException class using a system-supplied message.

public SynchronousOperationException()

SynchronousOperationException(string)

Initializes a new instance of the SynchronousOperationException class using the specified message.

public SynchronousOperationException(string message)

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.

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)

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.