Table of Contents

Class RelayDescription

Namespace
Microsoft.ServiceBus.Messaging
Assembly
Microsoft.ServiceBus.dll

Represents a WCF Relay description.

[DataContract(Name = "RelayDescription", Namespace = "http://schemas.microsoft.com/netservices/2010/10/servicebus/connect")]
public class RelayDescription : EntityDescription, IExtensibleDataObject
Inheritance
RelayDescription
Implements
IExtensibleDataObject
Inherited Members

Constructors

RelayDescription(string, RelayType)

Initializes a new instance of the RelayDescription class.

public RelayDescription(string relayPath, RelayType type)

Parameters

relayPath string

The path of the WCF Relay.

type RelayType

the WCF Relay type.

Properties

Authorization

public AuthorizationRules Authorization { get; }

Property Value

AuthorizationRules

The AuthorizationRules.

CollectionName

Gets or sets the name of the collection associated with the WCF Relay.

public string CollectionName { get; }

Property Value

string

The name of the collection associated with the WCF Relay.

CreatedAt

Gets or sets the exact time the WCF Relay was created.

public DateTime CreatedAt { get; }

Property Value

DateTime

The exact time the WCF Relay was created.

IsDynamic

Gets or sets whether the WCF Relay is dynamic.

public bool IsDynamic { get; }

Property Value

bool

true if the WCF Relay is dynamic; otherwise, false.

ListenerCount

Gets or sets the number of listeners for this relay.

public int ListenerCount { get; }

Property Value

int

The number of listeners for this relay.

Path

Gets or sets the path of the WCF Relay.

public string Path { get; set; }

Property Value

string

The path of the WCF Relay.

RelayType

Gets or sets the WCF Relay type.

public RelayType RelayType { get; set; }

Property Value

RelayType

the WCF Relay type.

RequiresClientAuthorization

Gets or sets whether client authorization is needed for this relay.

public bool RequiresClientAuthorization { get; set; }

Property Value

bool

true if client authorization is needed for this relay; otherwise, false.

RequiresTransportSecurity

Gets or sets whether transport security is needed for this relay.

public bool RequiresTransportSecurity { get; set; }

Property Value

bool

true if transport security is needed for this relay; otherwise, false.

UpdatedAt

Gets or sets the date when the WCF Relay was updated.

public DateTime UpdatedAt { get; }

Property Value

DateTime

The date when the WCF Relay was updated.

UserMetadata

Gets or sets the user metadata associated with this instance.

public string UserMetadata { get; set; }

Property Value

string

The user metadata associated with this instance.