C# Класс RabbitMQ.ServiceModel.RabbitMQBinding

A windows communication foundation binding over AMQP
Наследование: System.ServiceModel.Channels.Binding
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
DefaultMaxMessageSize long
queueSettings QueueSettings

Private Properties

Свойство Тип Описание
Initialize void

Открытые методы

Метод Описание
CreateBindingElements ( ) : BindingElementCollection
RabbitMQBinding ( ) : System

Creates a new instance of the RabbitMQBinding class initialized to use the Protocols.DefaultProtocol. The broker must be set before use.

RabbitMQBinding ( Client.IProtocol protocol ) : System

Uses the specified protocol. The broker must be set before use.

RabbitMQBinding ( String hostname, int port ) : System

Uses the broker specified by the given hostname and port with Protocols.DefaultProtocol.

RabbitMQBinding ( String hostname, int port, Client.IProtocol protocol ) : System

Uses the broker and protocol specified

RabbitMQBinding ( String hostname, int port, String username, String password, String virtualhost, long maxMessageSize, Client.IProtocol protocol ) : System

Uses the broker, login and protocol specified

Приватные методы

Метод Описание
Initialize ( ) : void

Описание методов

CreateBindingElements() публичный Метод

public CreateBindingElements ( ) : BindingElementCollection
Результат BindingElementCollection

RabbitMQBinding() публичный Метод

Creates a new instance of the RabbitMQBinding class initialized to use the Protocols.DefaultProtocol. The broker must be set before use.
public RabbitMQBinding ( ) : System
Результат System

RabbitMQBinding() публичный Метод

Uses the specified protocol. The broker must be set before use.
public RabbitMQBinding ( Client.IProtocol protocol ) : System
protocol Client.IProtocol The protocol version to use
Результат System

RabbitMQBinding() публичный Метод

Uses the broker specified by the given hostname and port with Protocols.DefaultProtocol.
public RabbitMQBinding ( String hostname, int port ) : System
hostname String The hostname of the broker to connect to
port int The port of the broker to connect to
Результат System

RabbitMQBinding() публичный Метод

Uses the broker and protocol specified
public RabbitMQBinding ( String hostname, int port, Client.IProtocol protocol ) : System
hostname String The hostname of the broker to connect to
port int The port of the broker to connect to
protocol Client.IProtocol The protocol version to use
Результат System

RabbitMQBinding() публичный Метод

Uses the broker, login and protocol specified
public RabbitMQBinding ( String hostname, int port, String username, String password, String virtualhost, long maxMessageSize, Client.IProtocol protocol ) : System
hostname String The hostname of the broker to connect to
port int The port of the broker to connect to
username String The broker username to connect with
password String The broker password to connect with
virtualhost String The broker virtual host
maxMessageSize long The largest allowable encoded message size
protocol Client.IProtocol The protocol version to use
Результат System

Описание свойств

DefaultMaxMessageSize публичное статическое свойство

public static long DefaultMaxMessageSize
Результат long

queueSettings публичное свойство

public QueueSettings,RabbitMQ.ServiceModel queueSettings
Результат QueueSettings