ClaimsPrincipalPermissionAttribute is used to declaratively request a ClaimsPrincipalPermission.
下表列出了 ClaimsPrincipalPermissionAttribute 类型公开的成员。
Public 构造函数
| 名称 | 说明 | |
|---|---|---|
| ClaimsPrincipalPermissionAttribute | Creates an instance of ClaimsPrincipalPermissionAttribute. | 
页首
Public 属性
| 名称 | 说明 | |
|---|---|---|
| .gif) | Action | (从 SecurityAttribute 继承) | 
| .gif) | Operation | |
| .gif) | Resource | |
| .gif) | TypeId | (从 Attribute 继承) | 
| .gif) | Unrestricted | (从 SecurityAttribute 继承) | 
页首
Public 方法
(另请参阅 Protected 方法)
| 名称 | 说明 | |
|---|---|---|
| .gif) | CreatePermission | 重写。 Creates and returns a new instance of ClaimsPrincipalPermission class. | 
| .gif) | Equals | 已重载。 (从 Attribute 继承) | 
| .gif) .gif) | GetCustomAttribute | 已重载。 (从 Attribute 继承) | 
| .gif) .gif) | GetCustomAttributes | 已重载。 (从 Attribute 继承) | 
| .gif) | GetHashCode | (从 Attribute 继承) | 
| .gif) | GetType | (从 Object 继承) | 
| .gif) | IsDefaultAttribute | (从 Attribute 继承) | 
| .gif) .gif) | IsDefined | 已重载。 (从 Attribute 继承) | 
| .gif) | Match | (从 Attribute 继承) | 
| .gif) .gif) | ReferenceEquals | (从 Object 继承) | 
| .gif) | ToString | (从 Object 继承) | 
页首
Protected 方法
| 名称 | 说明 | |
|---|---|---|
| .gif) | Finalize | (从 Object 继承) | 
| .gif) | MemberwiseClone | (从 Object 继承) | 
页首
显式接口实现
页首
请参见
参考
ClaimsPrincipalPermissionAttribute 类
Microsoft.IdentityModel.Claims 命名空间
版权所有 (C) 2008 Microsoft Corporation。保留所有权利。