EndInvoke - consequences

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Moshe Plotkin

    #1

    EndInvoke - consequences

    B"H

    What are the consequences of not calling EndInvoke on an Asynconis Delegate?
    Does Controls BeginInvoke also REQUIRE a call to EndInvoke? Being that its
    running on the main thread anyway?

    Thanks


  • Miha Markic

    #2
    Re: EndInvoke - consequences

    Hi Moshe,

    I think that EndInvoke is necessary only if you want to retrieve some
    output/return parameters or you want to synchronize threads.
    IOW it is not necessary.
    --
    Miha Markic - RightHand .NET consulting & development
    miha at rthand com
    100% satisfaction guaranteed on every domain we sell. 30-day, no questions asked, money-back guarantee. Easy, fast and convenient shopping.


    "Moshe Plotkin" <mplotkin@hotma il.com> wrote in message
    news:uN1H3ttzDH A.548@tk2msftng p13.phx.gbl...[color=blue]
    > B"H
    >
    > What are the consequences of not calling EndInvoke on an Asynconis[/color]
    Delegate?[color=blue]
    > Does Controls BeginInvoke also REQUIRE a call to EndInvoke? Being that its
    > running on the main thread anyway?
    >
    > Thanks
    >
    >[/color]


    Comment

    Working...