Interface IConnectionFactory
The factory to create connections asynchronously.
Namespace: Amqp
Assembly: Amqp.Net.dll
Syntax
public interface IConnectionFactory
Methods
CreateAsync(Address)
Creates a connection to the specified address.
Declaration
Task<IConnection> CreateAsync(Address address)
Parameters
Type | Name | Description |
---|---|---|
Address | address | The address of a remote endpoint to connect to. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<IConnection> | A task for the creation operation. On success, the result is an IConnection |