Dela via


SessionMessageProcessor Class

Definition

public class SessionMessageProcessor
type SessionMessageProcessor = class
Public Class SessionMessageProcessor
Inheritance
SessionMessageProcessor

Constructors

SessionMessageProcessor(ServiceBusSessionProcessor)

Initializes a new instance of SessionMessageProcessor.

Properties

Processor

Gets the ServiceBusSessionProcessor that will be used by the SessionMessageProcessor.

Methods

BeginProcessingMessageAsync(ServiceBusSessionMessageActions, ServiceBusReceivedMessage, CancellationToken)

This method is called when there is a new message to process, before the job function is invoked. This allows any preprocessing to take place on the message before processing begins.

CompleteProcessingMessageAsync(ServiceBusSessionMessageActions, ServiceBusReceivedMessage, FunctionResult, CancellationToken)

This method completes processing of the specified message, after the job function has been invoked.

Applies to