Title:
FileOpen - Timeout parameter / a way of auto closing/timing out the connection
| View in TrackerStatus/Resolution/Reason: Closed/Withdrawn/AsDesigned
Reporter/Name(from Bugbase): Chris Hopkins / Chris Hopkins ()
Created: 08/31/2017
Components: File Management
Versions: 2016
Failure Type: Others
Found In Build/Fixed In Build: /
Priority/Frequency: Normal /
Locale/System: /
Vote Count: 0
It would be nice if when using FileOpen there was a parameter that defined a timeout (probably in milliseconds, but i am fine with seconds) that auto closed the file if it was not interacted with in that time.
Basically i find using try/catch around all file operations to catch this to be a bit of an annoyance and if something causes an error it would be great if we had a way of auto closing the file so that another bit of code or program can access it.
Its quite possible that the proposal above is not the best way of achieving this but some way to close the file if its not used after a period without having to resort to try/catching would be nice.
Attachments:
Comments: