Partilhar via


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

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.

See Also

Reference

SPUtility Class

SPUtility Members

Microsoft.SharePoint.Utilities Namespace