CommonDialog.CheckPermissionsToShowDialog Method ()

 

Determines whether sufficient permissions for displaying a dialog exist.

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

[SecurityCriticalAttribute]
[SecurityTreatAsSafeAttribute]
protected virtual void 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: