Microsoft
Software
Hardware
Network
Question : Visual Basic .Net, Need the Specific reason an IOException was thrown.
Is there an equivilant to C's errno in catching an IOException in .Net? I have an app that tests for locks, and I want to make sure I am waiting because the error was a locking problem, not another problem ("Access Denied", etc.). I do not want to parse the error string (could change, not language independent) or retrieve process list and look for my file (too much CPU). Is there a feature of .Net that works like errno?
Thanks.
Answer : Visual Basic .Net, Need the Specific reason an IOException was thrown.
Possibly?
Marshal.GetLastWin32Error,
or Err.LastDllError
Random Solutions
mySQL join query how do I write
SQL server 2008 query with grouping
HTTP 403 Forbidden error in WordPress installation
Blank DVD goes from 4.38 GB to 4.08 GB
latebinding Windows Script Host Object
Access Multiselect Listbox code
Continuous Data Protection Recommendations
Error auto sensing primary master hard disk drive
RDLC and syntax help needed
toggle hide/show several similar css classes on web page