Show / Hide Table of Contents

Interface ILink

Represents an AMQP link.

Inherited Members
IAmqpObject.Closed
IAmqpObject.Error
IAmqpObject.IsClosed
IAmqpObject.AddClosedCallback(ClosedCallback)
IAmqpObject.Close()
IAmqpObject.Close(TimeSpan, Error)
IAmqpObject.CloseAsync()
IAmqpObject.CloseAsync(TimeSpan, Error)
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.

Back to top Copyright © 2015-2017 Microsoft
Generated by DocFX