"First of all," interposed Laigle, "I demand permission to embalm Blondeau in a few phrases of deeply felt eulogium.
“首先,”赖格尔抢着说,“我要求用几句心坎上的话向勃隆多悼念一番。
Now site PRINTER has permission to read the user's photos from site photo and will be able to print that user's photos on demand.
现在站点PRINTER就拥有了从站点PHOTO读取照片的许可权限,并且能够按需打印用户的照片。
This demand occurs at run time for every invocation of the member, and checks every caller in the call stack for permission.
在运行阶段对成员的每次调用都会提出此要求,此要求将检查调用堆栈中每个调用方的权限。
Ensure that an object can be created only by callers who have a specific permission by placing the demand on the class level of that object.
通过将要求放到某对象的类级别上,确保只能由拥有特定权限的调用方创建该对象。
For example, a demand on a permission set checks that all callers on the call stack have the necessary permissions in the permission set.
例如,使用权限集上的要求会检查,是否所有呼叫堆叠中的呼叫端在使用权限集中有必要的使用权限。
Specifically, it represents the minimum permissions such that any demand that passes both permission sets also passes their intersection.
特别是,它表示最小使用权限,以致任何要传递这两个使用权限集合的需求也会传递它们的交集。
Demand custom permission for your permission, where appropriate.
适当地为您的使用权限要求自订使用权限。
That is, although the calling assembly has full trust, a demand for an identity permission fails if the assembly does not meet the demanded criteria.
即,即使调用程序集已获得完全信任,如果该程序集不满足要求的条件,对标识权限的请求也将失败。
For example, if you want to ensure that callers have permission to read a certain file, but you do not know the name of that file until run time, use an imperative demand.
例如,如果要确保调用方拥有读取某个文件的权限,但在运行时之前不知道要读取的文件的名称,此时请使用强制性要求。
When importing an interop method, assert unmanaged code permission, and demand appropriate permission instead.
当引入一个互操作方法时,要断言不可控代码操作允许,并且声明相应的允许权限。
Gets or sets the first permission in a permission set or permission set collection that failed the demand.
获取或设置导致要求失败的被拒绝的安全权限、权限集或权限集集合。
For example, a method on the call stack might deny all of its callers a set of permissions named PSET1, such that any demand for a permission that is part of PSET1 fails for those callers.
例如,呼叫堆叠中的方法可以使用一组具名为P SET1的使用权限拒绝它所有的呼叫端,如此一来,只要对这些呼叫端要求任何属于pset1一部分的使用权限都会失败。
If your code simply calls a secure system library that exposes a protected resource, you do not need to demand a permission just because the library exposes the resource protected by that permission.
如果您的代码仅调用公开了保护的资源的一个安全系统库,则不必仅因为该库公开了一个权限保护的资源而请求该权限。
It is the library's responsibility to demand that your code and all its callers have the necessary permission.
要求您的代码及其所有调用方都拥有必要的权限,这是库的责任。
It is the library's responsibility to demand that your code and all its callers have the necessary permission.
要求您的代码及其所有调用方都拥有必要的权限,这是库的责任。
应用推荐