共用方式為


CreateTopicOptions Constructors

Definition

Overloads

CreateTopicOptions(TopicProperties)

Initializes a new instance of CreateTopicOptions based on the specified TopicProperties instance. This is useful for creating a new topic based on the properties of an existing topic.

CreateTopicOptions(String)

Initializes a new instance of CreateTopicOptions with the specified relative name.

CreateTopicOptions(TopicProperties)

Source:
CreateTopicOptions.cs
Source:
CreateTopicOptions.cs

Initializes a new instance of CreateTopicOptions based on the specified TopicProperties instance. This is useful for creating a new topic based on the properties of an existing topic.

public CreateTopicOptions (Azure.Messaging.ServiceBus.Administration.TopicProperties topic);
new Azure.Messaging.ServiceBus.Administration.CreateTopicOptions : Azure.Messaging.ServiceBus.Administration.TopicProperties -> Azure.Messaging.ServiceBus.Administration.CreateTopicOptions
Public Sub New (topic As TopicProperties)

Parameters

topic
TopicProperties

Existing topic to create options from.

Applies to

CreateTopicOptions(String)

Source:
CreateTopicOptions.cs
Source:
CreateTopicOptions.cs

Initializes a new instance of CreateTopicOptions with the specified relative name.

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

Parameters

name
String

Name of the topic relative to the namespace base address.

Applies to