Click or drag to resize

RestHandlerException Constructor

Initializes a new instance of the RestHandlerException class.

Namespace:  Packflow.Interface
Assembly:  MicaSystems.Packflow.Interface (in MicaSystems.Packflow.Interface.dll) Version: 1.0.0.0 (2.0.0.223)
Syntax
C#
public RestHandlerException(
	string message,
	int statusCode = 400,
	Exception innerException = null
)

Parameters

message
Type: SystemString
The message that describes the error.
statusCode (Optional)
Type: SystemInt32
The status code that will be set in the response.
innerException (Optional)
Type: SystemException
The inner exception.
See Also