RunBase.unpack Method [AX 2012]

Deserializes the packedClass parameter value to an instance of the RunBase class.

Syntax

public boolean unpack(container packedClass)

Run On

Called

Parameters

  • packedClass
    Type: container
    The container from which to deserialize the instance.

Return Value

Type: boolean
true if deserialization was successful; otherwise, false.

Remarks

When the isSwappingPrompt method returns true, you may have to unpack some prompt-related variables also.

See Also

RunBase Class

RunBase.pack Method

RunBase.isSwappingPrompt Method

Pack-Unpack Design Pattern