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
Совместная работа с нами на GitHub
Источник этого содержимого можно найти на GitHub, где также можно создавать и просматривать проблемы и запросы на вытягивание. Дополнительные сведения см. в нашем руководстве для участников.
Azure SDK for .NET