Пример #1
0
 public async Task CloseAsync()
 {
     if (info.IsDurable)
     {
         if (receiverLink != null)
         {
             await receiverLink.DetachAsync().AwaitRunContinuationAsync();
         }
     }
     else
     {
         if (receiverLink != null)
         {
             await receiverLink.CloseAsync().AwaitRunContinuationAsync();
         }
     }
 }