SetComplete don't deactivate the object


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: SetComplete don't deactivate the object

  1. #1
    Antonio Paglia Guest

    SetComplete don't deactivate the object

    SetComplete and SetAbort don't deactivate the object in MTS when calls a
    method from the client.

    I see the object activity in MTS console and the Activate counter always
    shows 1 even as soon as the method finalizes with SetComplete or SetAbort .
    Is this correct ?

    Thanks

    --
    Antonio Paglia
    e-mail:
    - apaglia@infovia.com.ar
    - antoniopaglia@hotmail.com





    Share on Google+

  2. #2
    Yves Reynhout Guest

    Re: SetComplete don't deactivate the object

    Hi,

    it is correct both at runtime and at designtime.

    @DesignTime(=DEBUG) the reason is that VB automatically creates the object
    again when you reenter the calling code piece.
    @RunTime the reason is that MTS automatically pre-creates an object, so
    requests can be handled quicker.

    BR,
    Yves Reynhout @ Orbid IT Services. http://www.orbidsmartx.com

    "Antonio Paglia" <apaglia@infovia.com.ar> wrote in message
    news:39c80b9c@news.devx.com...
    > SetComplete and SetAbort don't deactivate the object in MTS when calls a
    > method from the client.
    >
    > I see the object activity in MTS console and the Activate counter always
    > shows 1 even as soon as the method finalizes with SetComplete or SetAbort

    ..
    > Is this correct ?
    >
    > Thanks
    >
    > --
    > Antonio Paglia
    > e-mail:
    > - apaglia@infovia.com.ar
    > - antoniopaglia@hotmail.com
    >
    >
    >
    >
    >



    Share on Google+

  3. #3
    George Guest

    Re: SetComplete don't deactivate the object


    Antonio,

    You are correct. It won't go away unless your've jumped out from
    the last subroutine of the object you had set completed or aborted.
    Is that clear ??

    George.


    "Antonio Paglia" <apaglia@infovia.com.ar> wrote:
    >SetComplete and SetAbort don't deactivate the object in MTS when calls a
    >method from the client.
    >
    >I see the object activity in MTS console and the Activate counter always
    >shows 1 even as soon as the method finalizes with SetComplete or SetAbort

    Share on Google+

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center