XamlLoadPermission Constructor (PermissionState)
.NET Framework (current version)
Initializes a new instance of the XamlLoadPermission class, using existing permissions.
Assembly: System.Xaml (in System.Xaml.dll)
Parameters
- state
-
Type:
System.Security.Permissions::PermissionState
A PermissionState enumeration value.
Unrestricted sets the return for IsUnrestricted to true in the created instance. Any call to this constructor sets the AllowedAccess collection to null because it is not relevant if permissions are being reported rather than XamlAccessLevel.
.NET Framework
Available since 4.0
Available since 4.0
Show: