Пример #1
0
 /// <summary>
 /// Aborts a currently managed resource transfer.
 /// </summary>
 /// <param name="transferId">Identifies the transfer and resource.</param>
 /// <param name="reason">The reason to cancel the transfer.</param>
 /// <returns>The new status of the transfer, which is <see cref="TransferStatus.Aborted"/>
 /// in case of a known transfer. If the transfer is not known (maybe because it was aborted
 /// by the system), this method returns <see cref="TransferStatus.UnknownTransfer"/>.</returns>
 /// <exception cref="UnknownTransferException">In case the <paramref name="transferId"/>
 /// does not refer to an active transfer.</exception>
 protected override TransferStatus CancelTransferImpl(string transferId, AbortReason reason)
 {
     return(ReaderService.CancelTransfer(transferId, reason));
 }