Class UpgradeResult
Represents the result of an upgrade check operation.
Inheritance
object
Namespace: Umbraco.Cms.Core
Assembly: Umbraco.Core.dll
Syntax
public class UpgradeResult
Constructors
View SourceUpgradeResult(string, string, string)
Initializes a new instance of the UpgradeResult class.
Declaration
public UpgradeResult(string upgradeType, string comment, string upgradeUrl)
Parameters
| Type | Name | Description |
|---|---|---|
| string | upgradeType | The type of upgrade available. |
| string | comment | A comment or description about the upgrade. |
| string | upgradeUrl | The URL where the upgrade can be obtained. |
Properties
View SourceComment
Gets a comment or description about the upgrade.
Declaration
public string Comment { get; }
Property Value
| Type | Description |
|---|---|
| string |
UpgradeType
Gets the type of upgrade available (e.g., major, minor, patch).
Declaration
public string UpgradeType { get; }
Property Value
| Type | Description |
|---|---|
| string |
UpgradeUrl
Gets the URL where the upgrade can be obtained or more information is available.
Declaration
public string UpgradeUrl { get; }
Property Value
| Type | Description |
|---|---|
| string |