Table of Contents

Class IpFilterAuthorizationRule

Namespace
Microsoft.ServiceBus.Messaging
Assembly
Microsoft.ServiceBus.dll
[DataContract(Name = "IpFilterAuthorizationRule", Namespace = "http://schemas.microsoft.com/netservices/2010/10/servicebus/connect")]
public class IpFilterAuthorizationRule : AuthorizationRule
Inheritance
IpFilterAuthorizationRule
Inherited Members

Constructors

IpFilterAuthorizationRule(string, IpFilterActionType, string)

public IpFilterAuthorizationRule(string filterName, IpFilterActionType action, string ipMask)

Parameters

filterName string
action IpFilterActionType
ipMask string

Properties

Action

[DataMember(Name = "Action", IsRequired = true, Order = 1002)]
public IpFilterActionType Action { get; set; }

Property Value

IpFilterActionType

IpMaskString

public string IpMaskString { get; set; }

Property Value

string

KeyName

Gets or sets the authorization rule key name.

public override string KeyName { get; set; }

Property Value

string

The authorization rule key name.

Methods

Equals(object)

Determines whether the specified object is equal to the current object.

public override bool Equals(object obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

GetHashCode()

Returns the hash code for this instance.

public override int GetHashCode()

Returns

int

The hash code for this instance.

IsInRange(IPAddress)

public bool IsInRange(IPAddress ipAddr)

Parameters

ipAddr IPAddress

Returns

bool

ValidateRights(IEnumerable<AccessRights>)

Checks the validity of the specified access rights.

protected override void ValidateRights(IEnumerable<AccessRights> value)

Parameters

value IEnumerable<AccessRights>

The access rights to check.