ServiceFaultOccurred Method (Exception, HttpStatusCode)

Scanjour Workflow4 Reference Manual
Raise a WebFaultException.

Namespace:  Scanjour.Workflow4.Web.Services.Faults
Assembly:  Scanjour.Workflow4.Web.Services (in Scanjour.Workflow4.Web.Services.dll) Version: 21.3.0.0 (21.3.0.0)
Syntax

public static Exception Occurred(
	Exception ex,
	HttpStatusCode statusCode
)

Parameters

ex
Type: SystemException
The exception.
statusCode
Type: System.NetHttpStatusCode
An HTTP status code.

Return Value

Type: Exception
A WebFaultexception is thrown.
See Also

Reference