CogJobManager PersistedApplicationState Property Cognex VisionPro 9.24
Get the application state that was in effect when this job manager was last serialized to a file.

Namespace: Cognex.VisionPro.QuickBuild
Assembly: Cognex.VisionPro.QuickBuild.Core (in Cognex.VisionPro.QuickBuild.Core.dll) Version: 91.0.0.0 (91.0.0.0)
Syntax

public CogApplicationState PersistedApplicationState { get; }

Property Value

Type: CogApplicationState
Remarks

When the job manager is serialized to a file, the global multi-threading properties are read from the CogVisionToolMultiThreading class and written to that file. Upon deserialization, these properties will reflect the multi-threading state at some point in the past. This persisted state may be very different from the current state of the running application. During deserialization the job manager makes no attempt to restore the application to its prior multi-threading state. If desired, you can use these persisted properties to restore the prior application state.
See Also