Receiver<T>.CompleteAsync 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
CompleteAsync(T) |
Obsolete.
Deletes a received message from the queue. |
CompleteAsync(T, CancellationToken) |
Deletes a received message from the queue. |
CompleteAsync(T)
Caution
Use CompleteASync(T t, CancellationToken cancellationToken).
Deletes a received message from the queue.
[System.Obsolete("Use CompleteASync(T t, CancellationToken cancellationToken).")]
public abstract System.Threading.Tasks.Task CompleteAsync (T t);
[<System.Obsolete("Use CompleteASync(T t, CancellationToken cancellationToken).")>]
abstract member CompleteAsync : 'T -> System.Threading.Tasks.Task
Public MustOverride Function CompleteAsync (t As T) As Task
Parameters
- t
- T
Returns
- Attributes
Applies to
CompleteAsync(T, CancellationToken)
Deletes a received message from the queue.
public abstract System.Threading.Tasks.Task CompleteAsync (T t, System.Threading.CancellationToken cancellationToken);
abstract member CompleteAsync : 'T * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public MustOverride Function CompleteAsync (t As T, cancellationToken As CancellationToken) As Task
Parameters
- t
- T
The message to be deleted.
- cancellationToken
- CancellationToken
The Cancellation token.
Returns
Applies to
Azure SDK for .NET
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin