CommonDialog.CheckPermissionsToShowDialog Method ()

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Determines whether sufficient permissions for displaying a dialog exist.

Namespace:   Microsoft.Win32
Assembly:  PresentationFramework (in PresentationFramework.dll)

<SecurityCriticalAttribute>
<SecurityTreatAsSafeAttribute>
Protected Overridable Sub CheckPermissionsToShowDialog

Exception Condition
SecurityException

if sufficient permissions do not exist to display a dialog.

UIPermission

to execute this method without raising of an exception. Associated enumeration: AllWindows

.NET Framework
Available since 3.0
Return to top
Show: