NamespaceManager.CreateRelay NamespaceManager.CreateRelay NamespaceManager.CreateRelay Method

Definition

Overloads

CreateRelay(RelayDescription) CreateRelay(RelayDescription) CreateRelay(RelayDescription)

Creates a new relay in the service namespace with the specified relay description.

CreateRelay(String, RelayType) CreateRelay(String, RelayType) CreateRelay(String, RelayType)

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

CreateRelay(RelayDescription) CreateRelay(RelayDescription) CreateRelay(RelayDescription)

Creates a new relay in the service namespace with the specified relay description.

public Microsoft.ServiceBus.Messaging.RelayDescription CreateRelay (Microsoft.ServiceBus.Messaging.RelayDescription description);
member this.CreateRelay : Microsoft.ServiceBus.Messaging.RelayDescription -> Microsoft.ServiceBus.Messaging.RelayDescription
Public Function CreateRelay (description As RelayDescription) As 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.

CreateRelay(String, RelayType) CreateRelay(String, RelayType) CreateRelay(String, RelayType)

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

public Microsoft.ServiceBus.Messaging.RelayDescription CreateRelay (string path, Microsoft.ServiceBus.RelayType type);
member this.CreateRelay : string * Microsoft.ServiceBus.RelayType -> Microsoft.ServiceBus.Messaging.RelayDescription
Public Function CreateRelay (path As String, type As RelayType) As 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