ServiceBusConnection ServiceBusConnection ServiceBusConnection Class

Definition

Connection object to service bus namespace

public class ServiceBusConnection
type ServiceBusConnection = class
Public Class ServiceBusConnection
Inheritance
ServiceBusConnectionServiceBusConnectionServiceBusConnection

Constructors

ServiceBusConnection(ServiceBusConnectionStringBuilder) ServiceBusConnection(ServiceBusConnectionStringBuilder) ServiceBusConnection(ServiceBusConnectionStringBuilder)

Creates a new connection to service bus.

ServiceBusConnection(String) ServiceBusConnection(String) ServiceBusConnection(String)

Creates a new connection to service bus.

ServiceBusConnection(String, RetryPolicy) ServiceBusConnection(String, RetryPolicy) ServiceBusConnection(String, RetryPolicy)

Creates a new connection to service bus.

ServiceBusConnection(String, TransportType, RetryPolicy) ServiceBusConnection(String, TransportType, RetryPolicy) ServiceBusConnection(String, TransportType, RetryPolicy)

Creates a new connection to service bus.

ServiceBusConnection(String, TimeSpan, RetryPolicy) ServiceBusConnection(String, TimeSpan, RetryPolicy) ServiceBusConnection(String, TimeSpan, RetryPolicy)

Creates a new connection to service bus.

Properties

Endpoint Endpoint Endpoint

Fully qualified domain name for Service Bus.

IsClosedOrClosing IsClosedOrClosing IsClosedOrClosing

Returns true if the Service Bus Connection is closed or closing.

OperationTimeout OperationTimeout OperationTimeout

OperationTimeout is applied in erroneous situations to notify the caller about the relevant ServiceBusException

RetryPolicy RetryPolicy RetryPolicy

Retry policy for operations performed on the connection.

TokenProvider TokenProvider TokenProvider

Token provider for authentication. TokenProvider

TransportType TransportType TransportType

Get the transport type from the connection string. Available options: Amqp and AmqpWebSockets.

Methods

CloseAsync() CloseAsync() CloseAsync()

Closes the connection.

Applies to