Check if provided exception is raised from SecurityException.
Namespace: MonoSoftware.MonoXAssembly: MonoX (in MonoX.dll) Version: 5.1.40.5065 (5.1.40.5065)
Syntax
C# |
---|
public static bool HasSecurityException( Exception ex ) |
Visual Basic |
---|
Public Shared Function HasSecurityException ( ex As Exception ) As Boolean |
Visual C++ |
---|
public: static bool HasSecurityException( Exception^ ex ) |
F# |
---|
static member HasSecurityException : ex : Exception -> bool |
Parameters
- ex
- Type: System..::..Exception
Exception.
Return Value
Type: BooleanTrue if this is a SecurityException, flase otherwise.