NamespaceManager.CreateRelayAsync NamespaceManager.CreateRelayAsync NamespaceManager.CreateRelayAsync Method

Definition

Overloads

CreateRelayAsync(RelayDescription) CreateRelayAsync(RelayDescription) CreateRelayAsync(RelayDescription)

Asynchronously creates a new relay in the service namespace with the specified relay description.

CreateRelayAsync(String, RelayType) CreateRelayAsync(String, RelayType) CreateRelayAsync(String, RelayType)

Asynchronously creates a new relay in the service namespace with the given path and type.

CreateRelayAsync(RelayDescription) CreateRelayAsync(RelayDescription) CreateRelayAsync(RelayDescription)

Asynchronously creates a new relay in the service namespace with the specified relay description.

public System.Threading.Tasks.Task<Microsoft.ServiceBus.Messaging.RelayDescription> CreateRelayAsync (Microsoft.ServiceBus.Messaging.RelayDescription description);
member this.CreateRelayAsync : Microsoft.ServiceBus.Messaging.RelayDescription -> System.Threading.Tasks.Task<Microsoft.ServiceBus.Messaging.RelayDescription>
Public Function CreateRelayAsync (description As RelayDescription) As Task(Of RelayDescription)

Parameters

description
RelayDescription RelayDescription RelayDescription

The description object describing the attributes with which the new relay will be created.

Returns

The RelayDescription object for the newly created relay.

CreateRelayAsync(String, RelayType) CreateRelayAsync(String, RelayType) CreateRelayAsync(String, RelayType)

Asynchronously creates a new relay in the service namespace with the given path and type.

public System.Threading.Tasks.Task<Microsoft.ServiceBus.Messaging.RelayDescription> CreateRelayAsync (string path, Microsoft.ServiceBus.RelayType type);
member this.CreateRelayAsync : string * Microsoft.ServiceBus.RelayType -> System.Threading.Tasks.Task<Microsoft.ServiceBus.Messaging.RelayDescription>
Public Function CreateRelayAsync (path As String, type As RelayType) As Task(Of RelayDescription)

Parameters

path
String String String

The path of the queue relative to the service namespace base address.

type
RelayType RelayType RelayType

The relay type.

Returns

The RelayDescription object for the newly created relay.

Applies to