Share via


RuleDescription Constructors

Definition

Overloads

RuleDescription()

Initializes a new instance of the RuleDescription class with default values.

RuleDescription(Filter)
Obsolete.

Initializes a new instance of the RuleDescription class with the specified filter expression.

RuleDescription(String)

Initializes a new instance of the RuleDescription class with the specified name.

RuleDescription(String, Filter)

Initializes a new instance of the RuleDescription class with the specified name and filter expression.

RuleDescription()

Source:
RuleDescription.cs

Initializes a new instance of the RuleDescription class with default values.

public RuleDescription ();
Public Sub New ()

Applies to

RuleDescription(Filter)

Source:
RuleDescription.cs

Caution

This constructor will be removed in next version, please use RuleDescription(string, Filter) instead.

Initializes a new instance of the RuleDescription class with the specified filter expression.

[System.Obsolete("This constructor will be removed in next version, please use RuleDescription(string, Filter) instead.")]
public RuleDescription (Microsoft.Azure.ServiceBus.Filter filter);
[<System.Obsolete("This constructor will be removed in next version, please use RuleDescription(string, Filter) instead.")>]
new Microsoft.Azure.ServiceBus.RuleDescription : Microsoft.Azure.ServiceBus.Filter -> Microsoft.Azure.ServiceBus.RuleDescription
Public Sub New (filter As Filter)

Parameters

filter
Filter

The filter expression used to match messages.

Attributes

Applies to

RuleDescription(String)

Source:
RuleDescription.cs

Initializes a new instance of the RuleDescription class with the specified name.

public RuleDescription (string name);
new Microsoft.Azure.ServiceBus.RuleDescription : string -> Microsoft.Azure.ServiceBus.RuleDescription
Public Sub New (name As String)

Parameters

name
String

Applies to

RuleDescription(String, Filter)

Source:
RuleDescription.cs

Initializes a new instance of the RuleDescription class with the specified name and filter expression.

public RuleDescription (string name, Microsoft.Azure.ServiceBus.Filter filter);
new Microsoft.Azure.ServiceBus.RuleDescription : string * Microsoft.Azure.ServiceBus.Filter -> Microsoft.Azure.ServiceBus.RuleDescription
Public Sub New (name As String, filter As Filter)

Parameters

name
String
filter
Filter

The filter expression used to match messages.

Applies to