MessageVersionContext 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.
Implements support for tracking component versions within a single context (could be a process, extension boundary).
public class MessageVersionContext
type MessageVersionContext = class
Public Class MessageVersionContext
- Inheritance
-
MessageVersionContext
Constructors
MessageVersionContext() |
Methods
ExecuteRequestAsync<T>(MessageVersionHeader, Func<ValueTask<T>>) |
Executes the provided body of work in the correct context order based on the MessageVersionHeader passed in. |
GetCurrent() |
Gets the header that represents the current state of the context including any pending updated state. |
GetCurrentWithUpdates(MessageVersionHeader) |
Gets an instance of MessageVersionHeader that represents the state change from previous instance to current instance. |
TryIncrementVersion(Guid) |
Increments the version of the specified component. |
TryRegisterComponent(Guid, String) |
Registers a component identifier to be owned by this context, requests for component version increments can only be done for registered identifiers. |