UpgradeSession.IsUpgradeRequiredOnType(String, Int32) Method
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.
SFC calls this function on the domain for each type (with version) before it would like to deserialize.
A false return value indicates a no-upgrade and hence SFC can deserialize the content itself. If a true is returned, the upgrade sequence needs to be run.
public virtual bool IsUpgradeRequiredOnType (string instanceType, int fileVersion);
abstract member IsUpgradeRequiredOnType : string * int -> bool
override this.IsUpgradeRequiredOnType : string * int -> bool
Public Overridable Function IsUpgradeRequiredOnType (instanceType As String, fileVersion As Integer) As Boolean
Parameters
- instanceType
- String
- fileVersion
- Int32