다음을 통해 공유


SPUtility.FIsProcessCriticalException Method

Returns a Boolean value that indicates whether a specified exception is a critical 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 FIsProcessCriticalException ( _
    ex As Exception _
) As Boolean
'Usage
Dim ex As Exception
Dim returnValue As Boolean

returnValue = SPUtility.FIsProcessCriticalException(ex)
public static bool FIsProcessCriticalException(
    Exception ex
)

Parameters

Return Value

Type: System.Boolean

true if the exception is one of the following types:

See Also

Reference

SPUtility Class

SPUtility Members

Microsoft.SharePoint.Utilities Namespace