IEventProcessor.CloseAsync(PartitionContext, CloseReason) 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.
Called by processor host to indicate that the event processor is being stopped.
public System.Threading.Tasks.Task CloseAsync (Microsoft.Azure.EventHubs.Processor.PartitionContext context, Microsoft.Azure.EventHubs.Processor.CloseReason reason);
abstract member CloseAsync : Microsoft.Azure.EventHubs.Processor.PartitionContext * Microsoft.Azure.EventHubs.Processor.CloseReason -> System.Threading.Tasks.Task
Public Function CloseAsync (context As PartitionContext, reason As CloseReason) As Task
Parameters
- context
- PartitionContext
Information about the partition.
- reason
- CloseReason
Reason why the event processor is being stopped.
Returns
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Azure SDK for .NET