Skip to main content
Version: 3.x

IConsumerMiddlewareContext interface

Provides access to the current consumer's middleware context.

public interface IConsumerMiddlewareContext

Members

namedescription
Consumer { get; }Gets the current consumer in the context.
Worker { get; }Gets the current worker in the context. This property only returns values when inside a middleware with Worker lifetime; otherwise, it will return null.

See Also