Interface ILink
Represents an AMQP link.
Inherited Members
Namespace: Amqp
Assembly: Amqp.Net.dll
Syntax
public interface ILink : IAmqpObject
Properties
Name
Gets the link name.
Declaration
string Name { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
Detach(Error)
Detaches the link endpoint without closing it.
Declaration
void Detach(Error error)
Parameters
Type | Name | Description |
---|---|---|
Error | error | The error causing a detach. |
Remarks
An exception will be thrown if the peer responded with an error or the link was closed instead of being detached.
DetachAsync(Error)
Detaches the link endpoint without closing it.
Declaration
Task DetachAsync(Error error)
Parameters
Type | Name | Description |
---|---|---|
Error | error | The error causing a detach. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task | A Task for the asynchronous detach operation. |
Remarks
An exception will be thrown if the peer responded with an error or the link was closed instead of being detached.