UIPermissionWindow

UIPermissionWindowserializable

System.Security.Permissions (mscorlib.dll)enum
public enum UIPermissionWindow {
   NoWindows = 0,SafeSubWindows = 1,SafeTopLevelWindows = 2,AllWindows = 3
}

The UIPermissionWindow enumeration contains values that the UIPermission class uses to represent the type of window elements code is permitted to use. SafeSubWindows represents the ability to use safe subwindows such as message boxes and common dialog controls. SafeTopLevelWindows represents permission to use top-level windows that are considered safe because they are clearly labeled to avoid spoofing attacks. AllWindows represents the ability to access all windows elements.

Hierarchy

System.Object System.ValueType System.Enum(System.IComparable, System.IFormattable, System.IConvertible) UIPermissionWindow

Returned By

UIPermission.Window, UIPermissionAttribute.Window

Passed To

UIPermission.{UIPermission( ), Window}, UIPermissionAttribute.Window



    Part V: API Quick Reference