ServiceFaultOccurred Method (WorkflowHostException, HttpStatusCode, String)

Scanjour Workflow4 Reference Manual
Raise a WebFaultException from a host exception

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

public static Exception Occurred(
	WorkflowHostException ex,
	HttpStatusCode statusCode,
	string message = null
)

Parameters

ex
Type: Scanjour.Workflow4.HostWorkflowHostException
The exception.
statusCode
Type: System.NetHttpStatusCode
An HTTP status code.
message (Optional)
Type: SystemString

[Missing <param name="message"/> documentation for "M:Scanjour.Workflow4.Web.Services.Faults.ServiceFault.Occurred(Scanjour.Workflow4.Host.WorkflowHostException,System.Net.HttpStatusCode,System.String)"]

Return Value

Type: Exception
A WebFaultexception is thrown.
See Also

Reference