你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

AllowRule 类

定义

表示允许的规则。

[System.Runtime.Serialization.DataContract(Name="AllowRule", Namespace="http://schemas.microsoft.com/netservices/2010/10/servicebus/connect")]
public class AllowRule : Microsoft.ServiceBus.Messaging.AuthorizationRule
[<System.Runtime.Serialization.DataContract(Name="AllowRule", Namespace="http://schemas.microsoft.com/netservices/2010/10/servicebus/connect")>]
type AllowRule = class
    inherit AuthorizationRule
Public Class AllowRule
Inherits AuthorizationRule
继承
属性

构造函数

AllowRule()

初始化 AllowRule 类的新实例。

AllowRule(String, AllowRuleClaimType, String, IEnumerable<AccessRights>)

使用指定的参数初始化 AllowRule 类的新实例。

AllowRule(String, String, String, IEnumerable<AccessRights>)

初始化 AllowRule 类的新实例。

字段

NameIdentifierClaimType

名称标识符声明规则。

(继承自 AuthorizationRule)
RoleClaimType

角色声明规则。

(继承自 AuthorizationRule)
RoleRoleClaimType

角色声明规则。

(继承自 AuthorizationRule)
SharedAccessKeyClaimType

共享访问密钥声明规则。

(继承自 AuthorizationRule)
ShortNameIdentifierClaimType

短名称标识符声明规则。

(继承自 AuthorizationRule)
ShortUpnClaimType

短 UPN 声明规则。

(继承自 AuthorizationRule)
UpnClaimType

UPN 声明规则。

(继承自 AuthorizationRule)

属性

ClaimType

获取或设置声明类型。

(继承自 AuthorizationRule)
ClaimValue

获取或设置声明值,该值为“Send”、“Listen”或“Manage”。

(继承自 AuthorizationRule)
CreatedTime

获取或设置创建授权规则的日期和时间。

(继承自 AuthorizationRule)
IssuerName

获取或设置颁发者的名称标识符。

(继承自 AuthorizationRule)
KeyName

获取或设置允许规则键名称。

ModifiedTime

获取或设置修改授权规则的日期和时间。

(继承自 AuthorizationRule)
Revision

获取或设置修改修订号。

(继承自 AuthorizationRule)
Rights

获取或设置权限列表。

(继承自 AuthorizationRule)

方法

Clone()

创建 的副本 AuthorizationRule

(继承自 AuthorizationRule)
Equals(Object)

确定指定对象是否等于当前对象。

(继承自 AuthorizationRule)
GetHashCode()

返回此实例的哈希代码。

(继承自 AuthorizationRule)
OnValidate()

使派生类能够在验证授权规则时提供自定义处理。

(继承自 AuthorizationRule)
ValidateRights(IEnumerable<AccessRights>)

检查指定访问权限的有效性。

(继承自 AuthorizationRule)

适用于