[System.Flags]
[System.Runtime.InteropServices.ComVisible(true)]
[System.Obsolete("CAS support is not available with Silverlight applications.")]
[System.Serializable]
public enum SecurityPermissionFlag

字段

断言此代码的所有调用方均有该操作所需的权限的能力。Ability to assert that all this code's callers have the requisite permission for the operation.

BindingRedirects

8192

在应用程序配置文件中执行显式绑定重定向所需的权限。Permission to perform explicit binding redirection in the application configuration file.其中包括对某些 .NET Framework 程序集的重定向，这些程序集和 .NET Framework 外的其他程序集都已经被统一。This includes redirection of .NET Framework assemblies that have been unified as well as other assemblies found outside the .NET Framework.

由于非托管代码可能会绕过其他权限，所以这种权限非常危险，仅应授予给高度受信任的代码。Since unmanaged code potentially allows other permissions to be bypassed, this is a dangerous permission that should only be granted to highly trusted code.它可用于使用 PInvoke 或使用 COM 互操作调用本机代码的应用程序。It is used for such applications as calling native code using PInvoke or using COM interop.