Table of Contents

Class TriggerPartitionContext

Namespace
Microsoft.Azure.WebJobs.EventHubs
Assembly
Microsoft.Azure.WebJobs.Extensions.EventHubs.dll

Represents an Event Hub partition, its relative state, and its trigger state.

public class TriggerPartitionContext : PartitionContext
Inheritance
TriggerPartitionContext

Constructors

TriggerPartitionContext(string, string, string, string)

Initializes a new instance of the TriggerPartitionContext class.

public TriggerPartitionContext(string fullyQualifiedNamespace, string eventHubName, string consumerGroup, string partitionId)

Parameters

fullyQualifiedNamespace string

The fully qualified Event Hubs namespace this context is associated with.

eventHubName string

The name of the Event Hub partition this context is associated with.

consumerGroup string

The name of the consumer group this context is associated with.

partitionId string

The identifier of the Event Hub partition this context is associated with.

Properties

IsCheckpointingAfterInvocation

Determines whether this partition will checkpoint after this invocation succeeds.

public bool IsCheckpointingAfterInvocation { get; }

Property Value

bool