[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Checks exception to see if it is one of a predetermined list of "critical" exceptions that should never be handled by the framework.

Namespace:  Microsoft.ConfigurationManagement.Messaging.Framework
Assembly:  Microsoft.ConfigurationManagement.Messaging(in Microsoft.ConfigurationManagement.Messaging.dll)

Syntax

                 
  C#     Visual Basic     Visual C++  
public 
static 
bool 
IsCriticalException(
	
this 
Exception 
exception
)
<
ExtensionAttribute> _
Public 
Shared 
Function 
IsCriticalException ( _
	
exception 
As 
Exception _
) 
As 
Boolean
[
ExtensionAttribute]
public:
static 
bool 
IsCriticalException(
	
Exception^ 
exception
)

Parameters

exception
Exception
Exception to validate

Return Value

True if exception should be considered critical, false if it can be safely handled

See Also