Share via


UpgradeSession.IsUpgradeRequiredOnType(String, Int32) Method

Definition

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

Returns

Applies to