SessionMessageProcessor Class
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.
public class SessionMessageProcessor
type SessionMessageProcessor = class
Public Class SessionMessageProcessor
- Inheritance
-
SessionMessageProcessor
Constructors
| Name | Description |
|---|---|
| SessionMessageProcessor(ServiceBusSessionProcessor) |
Initializes a new instance of SessionMessageProcessor. |
Properties
| Name | Description |
|---|---|
| Processor |
Gets the ServiceBusSessionProcessor that will be used by the SessionMessageProcessor. |
Methods
| Name | Description |
|---|---|
| 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. |