共用方式為


SynchronousOperationException Constructor

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

Namespace:  System.Web.Mvc.Async
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

Syntax

'Declaration
Public Sub New
public SynchronousOperationException()
public:
SynchronousOperationException()

Remarks

This constructor initializes the Message property of the new instance to a system-supplied message that describes the error, such as "DefaultMessageDisplayedByParameterlessCtorWriterMustSupply". This message takes into account the current system culture.

The following table shows the initial property values for an instance of InsufficientMemoryException.

Property

Value

InnerException

null reference (Nothing in Visual Basic).

Message

The localized error message string.

See Also

Reference

SynchronousOperationException Class

SynchronousOperationException Overload

System.Web.Mvc.Async Namespace

Other Resources

Handling and Throwing Exceptions