ServiceFaultOccurred(Exception, HttpStatusCode) Method |
Raise a WebFaultException.
Namespace: Scanjour.Workflow4.Web.Services.FaultsAssembly: Scanjour.Workflow4.Web.Services (in Scanjour.Workflow4.Web.Services.dll) Version: 24.5.0.0 (24.5.0.0)
Syntaxpublic static Exception Occurred(
Exception ex,
HttpStatusCode statusCode
)
Public Shared Function Occurred (
ex As Exception,
statusCode As HttpStatusCode
) As Exception
public:
static Exception^ Occurred(
Exception^ ex,
HttpStatusCode statusCode
)
static member Occurred :
ex : Exception *
statusCode : HttpStatusCode -> Exception
Parameters
- ex Exception
- The exception.
- statusCode HttpStatusCode
- An HTTP status code.
Return Value
ExceptionA WebFaultexception is thrown.
See Also