| WebErrorUtilityClassifyException Method |
Classify the provided exception and set any error headers
Namespace:
SanteDB.DisconnectedClient.Ags.Util
Assembly:
SanteDB.DisconnectedClient.Ags (in SanteDB.DisconnectedClient.Ags.dll) Version: 2.2.1
Syntax public static int ClassifyException(
Exception error,
bool enableBehavior = true
)
Public Shared Function ClassifyException (
error As Exception,
Optional enableBehavior As Boolean = true
) As Integer
public:
static int ClassifyException(
Exception^ error,
bool enableBehavior = true
)
static member ClassifyException :
error : Exception *
?enableBehavior : bool
(* Defaults:
let _enableBehavior = defaultArg enableBehavior true
*)
-> int
Parameters
- error
- Type: SystemException
The error to classify - enableBehavior (Optional)
- Type: SystemBoolean
When true, instructs the classifier to append headers and audit the action
Return Value
Type:
Int32[Missing <returns> documentation for "M:SanteDB.DisconnectedClient.Ags.Util.WebErrorUtility.ClassifyException(System.Exception,System.Boolean)"]
See Also