共用方式為


SynchronousOperationException Constructor (String)

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

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

Syntax

'Declaration
Public Sub New ( _
    message As String _
)
public SynchronousOperationException(
    string message
)
public:
SynchronousOperationException(
    String^ message
)

Parameters

  • message
    Type: System.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.

Remarks

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

Property

Value

InnerException

null reference (Nothing in Visual Basic).

Message

The error message string specified in message.

See Also

Reference

SynchronousOperationException Class

SynchronousOperationException Overload

System.Web.Mvc.Async Namespace

Other Resources

Handling and Throwing Exceptions