Table of Contents

Class SqlRuleAction

Namespace
Microsoft.Azure.ServiceBus
Assembly
Microsoft.Azure.ServiceBus.dll

Represents set of actions written in SQL language-based syntax that is performed against a Message.

public sealed class SqlRuleAction : RuleAction, IEquatable<RuleAction>
Inheritance
SqlRuleAction
Implements
Inherited Members

Constructors

SqlRuleAction(string)

Initializes a new instance of the SqlRuleAction class with the specified SQL expression.

public SqlRuleAction(string sqlExpression)

Parameters

sqlExpression string

The SQL expression.

Remarks

Max allowed length of sql expression is 1024 chars.

Properties

Parameters

Sets the value of a rule action.

public IDictionary<string, object> Parameters { get; }

Property Value

IDictionary<string, object>

The value of a rule action.

SqlExpression

Gets the SQL expression.

public string SqlExpression { get; }

Property Value

string

The SQL expression.

Remarks

Max allowed length of sql expression is 1024 chars.

Methods

Equals(RuleAction)

public override bool Equals(RuleAction other)

Parameters

other RuleAction

Returns

bool

Equals(object)

public override bool Equals(object obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

Returns a string representation of SqlRuleAction.

public override string ToString()

Returns

string

The string representation of SqlRuleAction.

Operators

operator ==(SqlRuleAction, SqlRuleAction)

public static bool operator ==(SqlRuleAction o1, SqlRuleAction o2)

Parameters

o1 SqlRuleAction
o2 SqlRuleAction

Returns

bool

operator !=(SqlRuleAction, SqlRuleAction)

public static bool operator !=(SqlRuleAction o1, SqlRuleAction o2)

Parameters

o1 SqlRuleAction
o2 SqlRuleAction

Returns

bool