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
Crystal Report XI: Report Footer prints on a separate page
Good method of deploying windows 7 in XenServer
Windows 7 unable to access network shares error code 0x800704cf
How can I display the current column widths of an Excel worksheet?
Permissions of file server
Silverlight Question on raising event by keyboard's Enter Key
Basic math in MS SQL stored procedure across three tables
The news page in SharePoint 2007 is narrow and does not look like the master or sub master page
Add WMI Query to Existing VBscript
Problesm setting up the first web page in Dreamweaver...