Junfeng Zhang's Musing

things about the world, world of things

December, 2008

  • Junfeng Zhang's Musing

    Exception Filter

    C# does not support exception filter. However, VB and IL support it. To add exception filter to C#, we can build a function in VB or IL, then call it in C#. The example below is one way we may implement the function to support exception filter. It...
  • Junfeng Zhang's Musing


    I mentioned that we can use ThreadPool.BindHandle to implement asynchronous IO. Here are roughly the steps necessary to make it happen: 1. Create an overlapped file handle SafeFileHandle handle = CreateFile( filename, Win32.GENERIC_READ_ACCESS...
Page 1 of 1 (2 items)