Bagikan melalui


EventHubConsumerGroup.UnregisterProcessorAsync(Lease, CloseReason) Method

Definition

Asynchronous version of UnregisterProcessor(Lease, CloseReason).

public System.Threading.Tasks.Task UnregisterProcessorAsync (Microsoft.ServiceBus.Messaging.Lease lease, Microsoft.ServiceBus.Messaging.CloseReason reason);
member this.UnregisterProcessorAsync : Microsoft.ServiceBus.Messaging.Lease * Microsoft.ServiceBus.Messaging.CloseReason -> System.Threading.Tasks.Task
Public Function UnregisterProcessorAsync (lease As Lease, reason As CloseReason) As Task

Parameters

lease
Lease

Partition information.

Returns

A task instance that represents the asynchronous operation.

Applies to