다음을 통해 공유


CreateRuleOptions Constructors

Definition

Overloads

CreateRuleOptions()

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

CreateRuleOptions(RuleProperties)

Initializes a new instance of CreateRuleOptions based on the specified RuleProperties instance. This is useful for creating a new rule based on the properties of an existing rule.

CreateRuleOptions(String)

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

CreateRuleOptions(String, RuleFilter)

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

CreateRuleOptions()

Source:
CreateRuleOptions.cs
Source:
CreateRuleOptions.cs

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

public CreateRuleOptions ();
Public Sub New ()

Applies to

CreateRuleOptions(RuleProperties)

Source:
CreateRuleOptions.cs
Source:
CreateRuleOptions.cs

Initializes a new instance of CreateRuleOptions based on the specified RuleProperties instance. This is useful for creating a new rule based on the properties of an existing rule.

public CreateRuleOptions (Azure.Messaging.ServiceBus.Administration.RuleProperties rule);
new Azure.Messaging.ServiceBus.Administration.CreateRuleOptions : Azure.Messaging.ServiceBus.Administration.RuleProperties -> Azure.Messaging.ServiceBus.Administration.CreateRuleOptions
Public Sub New (rule As RuleProperties)

Parameters

rule
RuleProperties

Existing rule to create options from.

Applies to

CreateRuleOptions(String)

Source:
CreateRuleOptions.cs
Source:
CreateRuleOptions.cs

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

public CreateRuleOptions (string name);
new Azure.Messaging.ServiceBus.Administration.CreateRuleOptions : string -> Azure.Messaging.ServiceBus.Administration.CreateRuleOptions
Public Sub New (name As String)

Parameters

name
String

Applies to

CreateRuleOptions(String, RuleFilter)

Source:
CreateRuleOptions.cs
Source:
CreateRuleOptions.cs

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

public CreateRuleOptions (string name, Azure.Messaging.ServiceBus.Administration.RuleFilter filter);
new Azure.Messaging.ServiceBus.Administration.CreateRuleOptions : string * Azure.Messaging.ServiceBus.Administration.RuleFilter -> Azure.Messaging.ServiceBus.Administration.CreateRuleOptions
Public Sub New (name As String, filter As RuleFilter)

Parameters

name
String
filter
RuleFilter

The filter expression used to match messages.

Applies to