OTX Reference
|
|
Saves and closes the current file. More...
Public Attributes | |
FileHandleVariable | handle |
The handle for the file that the related file object encapsulates. More... | |
Public Attributes inherited from OpenTestSystem.Otx.Core.Actions.ActionRealisation | |
OtxLink | validFor |
Validity of ActionRealisation. More... | |
Saves and closes the current file.
The CloseFile activity saves and closes the current file and releases any resources associated with the current file. The use of CloseFile is optional. If the file handle goes out of scope, it is automatically closed.
If a diagnostic sequence uses a FileHandle after it has been closed by a CloseFile action, the runtime system shall throw an otx:InvalidReferenceException.
FileHandleVariable OpenTestSystem.Otx.Extensions.File.Actions.CloseFile.handle |
The handle for the file that the related file object encapsulates.