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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET