Share via


CreateSubscriptionOptions Constructors

Definition

Overloads

CreateSubscriptionOptions(SubscriptionProperties)

Initializes a new instance of CreateSubscriptionOptions based on the specified SubscriptionProperties instance. This is useful for creating a new subscription based on the properties of an existing subscription.

CreateSubscriptionOptions(String, String)

Initializes a new instance of SubscriptionDescription class with the specified name and topic name.

CreateSubscriptionOptions(SubscriptionProperties)

Source:
CreateSubscriptionOptions.cs
Source:
CreateSubscriptionOptions.cs

Initializes a new instance of CreateSubscriptionOptions based on the specified SubscriptionProperties instance. This is useful for creating a new subscription based on the properties of an existing subscription.

public CreateSubscriptionOptions (Azure.Messaging.ServiceBus.Administration.SubscriptionProperties subscription);
new Azure.Messaging.ServiceBus.Administration.CreateSubscriptionOptions : Azure.Messaging.ServiceBus.Administration.SubscriptionProperties -> Azure.Messaging.ServiceBus.Administration.CreateSubscriptionOptions
Public Sub New (subscription As SubscriptionProperties)

Parameters

subscription
SubscriptionProperties

Existing subscription to create options from.

Applies to

CreateSubscriptionOptions(String, String)

Source:
CreateSubscriptionOptions.cs
Source:
CreateSubscriptionOptions.cs

Initializes a new instance of SubscriptionDescription class with the specified name and topic name.

public CreateSubscriptionOptions (string topicName, string subscriptionName);
new Azure.Messaging.ServiceBus.Administration.CreateSubscriptionOptions : string * string -> Azure.Messaging.ServiceBus.Administration.CreateSubscriptionOptions
Public Sub New (topicName As String, subscriptionName As String)

Parameters

topicName
String

Name of the topic relative to the namespace base address.

subscriptionName
String

Name of the subscription.

Applies to