Receiver<T>.AbandonAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
AbandonAsync(T) |
Obsolete.
Puts a received message back into the queue. |
AbandonAsync(T, CancellationToken) |
Puts a received message back into the queue. |
AbandonAsync(T)
Caution
Use AbandonAsync(T t, CancellationToken cancellationToken).
Puts a received message back into the queue.
[System.Obsolete("Use AbandonAsync(T t, CancellationToken cancellationToken).")]
public abstract System.Threading.Tasks.Task AbandonAsync (T t);
[<System.Obsolete("Use AbandonAsync(T t, CancellationToken cancellationToken).")>]
abstract member AbandonAsync : 'T -> System.Threading.Tasks.Task
Public MustOverride Function AbandonAsync (t As T) As Task
Parameters
- t
- T
Returns
- Attributes
Applies to
AbandonAsync(T, CancellationToken)
Puts a received message back into the queue.
public abstract System.Threading.Tasks.Task AbandonAsync (T t, System.Threading.CancellationToken cancellationToken);
abstract member AbandonAsync : 'T * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public MustOverride Function AbandonAsync (t As T, cancellationToken As CancellationToken) As Task
Parameters
- t
- T
The message to be abandoned.
- cancellationToken
- CancellationToken
The Cancellation token.
Returns
Applies to
Azure SDK for .NET
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for