C# Класс Amqp.ConnectionFactory

The factory to create connections asynchronously.
Наследование: Amqp.ConnectionFactoryBase
Показать файл Открыть проект Примеры использования класса

Private Properties

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

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

Метод Описание
ConnectionFactory ( ) : System

Constructor to create a connection factory.

CreateAsync ( Address address ) : Task

Creates a new connection.

CreateAsync ( Address address, Amqp.Framing.Open open, OnOpened onOpened ) : Task

Creates a new connection with a custom open frame and a callback to handle remote open frame.

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

ConnectionFactory() публичный метод

Constructor to create a connection factory.
public ConnectionFactory ( ) : System
Результат System

CreateAsync() публичный метод

Creates a new connection.
public CreateAsync ( Address address ) : Task
address Address The address of remote endpoint to connect to.
Результат Task

CreateAsync() публичный метод

Creates a new connection with a custom open frame and a callback to handle remote open frame.
public CreateAsync ( Address address, Amqp.Framing.Open open, OnOpened onOpened ) : Task
address Address The address of remote endpoint to connect to.
open Amqp.Framing.Open If specified, it is sent to open the connection, otherwise an open frame created from the AMQP settings property is sent.
onOpened OnOpened If specified, it is invoked when an open frame is received from the remote peer.
Результат Task