EventGridReceiverClient.ReleaseAsync Method
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.
Release a batch of Cloud Events. The response will include the set of successfully released lock tokens, along with other failed lock tokens with their corresponding error information. Successfully released events can be received by consumers.
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.Messaging.EventGrid.Namespaces.ReleaseResult>> ReleaseAsync(System.Collections.Generic.IEnumerable<string> lockTokens, Azure.Messaging.EventGrid.Namespaces.ReleaseDelay? delay = default, System.Threading.CancellationToken cancellationToken = default);
abstract member ReleaseAsync : seq<string> * Nullable<Azure.Messaging.EventGrid.Namespaces.ReleaseDelay> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Messaging.EventGrid.Namespaces.ReleaseResult>>
override this.ReleaseAsync : seq<string> * Nullable<Azure.Messaging.EventGrid.Namespaces.ReleaseDelay> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Messaging.EventGrid.Namespaces.ReleaseResult>>
Public Overridable Function ReleaseAsync (lockTokens As IEnumerable(Of String), Optional delay As Nullable(Of ReleaseDelay) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ReleaseResult))
- lockTokens
- IEnumerable<String>
Array of lock tokens.
- delay
- Nullable<ReleaseDelay>
Release cloud events with the specified delay in seconds.
- cancellationToken
- CancellationToken
The cancellation token to use.
lockTokens
is null.
Toode | Versioonid |
---|---|
Azure SDK for .NET | Latest |
Toote „Azure SDK for .NET“ tagasiside
Azure SDK for .NET on avatud lähtekoodiga projekt. Tagasiside andmiseks valige link: