pipeline events RRS feed

  • Question

  • User2055385495 posted
    I'm trying to translate a code that I found in MSDN written in C# to VB.NET, and I cannot seem to grasp the concept of what the following line is trying to do, so that I can coded it using VB.NET syntax. Please help. The code is as follow: public void Init(HttpApplication app) { // Register for pipeline events app.AcquireRequestState += new EventHandler(this.OnAcquireRequestState); }
    Thursday, August 19, 2004 4:28 PM

All replies

  • User2055385495 posted
    to give you more information, the rest of the code is on this link http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnvs05/html/bedrockaspnet.asp so, if anybody could help me on trying to translate that line app.AcquireRequestState += new EventHandler(this.OnAcquireRequestState); from C# to VB.NET I would really appreciate it ~John A
    Sunday, August 22, 2004 11:59 PM
  • User-1391363652 posted
    John, Give this Template Generator For HttpModules and HttpHandlers a try. It can produce both C# and VB.NET code for you.
    Monday, August 23, 2004 11:51 AM
  • User2055385495 posted
    Thanks Milan, that really helped me. This forums is GREAT!!!
    Thursday, August 26, 2004 8:47 AM