HybridConnectionClient Class

 

Provides a client for initiating new send-side HybridConnections.

Namespace:   Microsoft.ServiceBus.Relay
Assembly:  Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)

Inheritance Hierarchy

System.Object
  Microsoft.ServiceBus.Relay.HybridConnectionClient

Syntax

public class HybridConnectionClient
public ref class HybridConnectionClient 
type HybridConnectionClient = class end
Public Class HybridConnectionClient

Constructors

Name Description
System_CAPS_pubmethod HybridConnectionClient(Uri)

Create a new HybridConnectionClient instance for initiating HybridConnections where no client authentication is required.

System_CAPS_pubmethod HybridConnectionClient(Uri, TokenProvider)

Create a new HybridConnectionClient instance for initiating HybridConnections with client authentication.

Properties

Name Description
System_CAPS_pubproperty Address

Gets the address of this HybridConnection to connect through. The address on which to listen for HybridConnections. This address should be of the format "sb://contoso.servicebus.windows.net/yourhybridconnection".

System_CAPS_pubproperty ConnectTimeout

Gets or sets the timeout used when connecting a HybridConnection. Default value is 70 seconds.

System_CAPS_pubproperty TokenProvider

Gets the TokenProvider for authenticating HybridConnections.

Methods

Name Description
System_CAPS_pubmethod CreateConnectionAsync()

Establishes a new send-side HybridConnection and returns the Stream.

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.ServiceBus.Relay Namespace

Return to top