SPUtility.FIsFatalException Method
Returns a Boolean value that indicates whether a specified exception is a fatal exception.
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
Public Shared Function FIsFatalException ( _
e As Exception _
) As Boolean
'Usage
Dim e As Exception
Dim returnValue As Boolean
returnValue = SPUtility.FIsFatalException(e)
public static bool FIsFatalException(
Exception e
)
Parameters
e
Type: System.ExceptionThe exception.
Return Value
Type: System.Boolean
true if the type of exception is BadImageFormatException or MissingMethodException. The method also returns true if the FIsProcessCriticalException(Exception) returns true when the same exception is passed.