IDeploymentStateManager Interface
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.
Provides deployment state management functionality.
public interface IDeploymentStateManager
type IDeploymentStateManager = interface
Public Interface IDeploymentStateManager
Properties
| StateFilePath |
Gets the file path where deployment state is stored, if applicable. |
Methods
| AcquireSectionAsync(String, CancellationToken) |
Acquires a specific section of the deployment state with version tracking for concurrency control. The returned section is an immutable snapshot of the data at the time of acquisition. |
| SaveSectionAsync(DeploymentStateSection, CancellationToken) |
Saves a section of deployment state with optimistic concurrency control. The section must have a matching version number or a concurrency exception will be thrown. |