Attempt to open the runtime workspace file specified by
FileName.
Namespace: Cognex.VisionPro.DLRuntimeAssembly: Cognex.VisionPro.DLRuntime (in Cognex.VisionPro.DLRuntime.dll) Version: 87.0.0.0 (87.0.0.0)
Syntax
Events
| Event Type | Reason |
|---|---|
| ICogChangedEvent Changed |
Fires when a runtime workspace file is successfully opened
and incorporated.
The following state flags may be affected:
|
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | If the runtime workspace file is not found. |
| ArgumentException | If the runtime workspace file is not successfully read into memory. |
| ArgumentException | If the runtime workspace object's structure does not match a previously deserialized or copied parameter structure. |
| ArgumentException | If an error occurs in transcribing previously deserialized or copied parameters into a just-loaded workspace object. |
See Also