Exceptions in threads....

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • José Pérez Hernández

    #1

    Exceptions in threads....

    Hi,

    I have some problems with catching exceptions in my programs because they
    are rised in another thread.

    I was thinking on create a delegate called ExceptionManage r or something
    similiar, in order to notify the client of the process when an exception was
    rised.

    There is simple solution for that in the framework?

    Regards, José.


  • Jay B. Harlow [MVP - Outlook]

    #2
    Re: Exceptions in threads....

    José,
    Have you looked at handing the AppDomain.Unhan dledException event?

    Hope this helps
    Jay

    "José Pérez Hernández" <joseperhe@yaho o.com> wrote in message
    news:O5oCRttKEH A.2784@TK2MSFTN GP09.phx.gbl...[color=blue]
    > Hi,
    >
    > I have some problems with catching exceptions in my programs because they
    > are rised in another thread.
    >
    > I was thinking on create a delegate called ExceptionManage r or something
    > similiar, in order to notify the client of the process when an exception[/color]
    was[color=blue]
    > rised.
    >
    > There is simple solution for that in the framework?
    >
    > Regards, José.
    >
    >[/color]


    Comment

    • Jay B. Harlow [MVP - Outlook]

      #3
      Re: Exceptions in threads....

      José,
      Have you looked at handing the AppDomain.Unhan dledException event?

      Hope this helps
      Jay

      "José Pérez Hernández" <joseperhe@yaho o.com> wrote in message
      news:O5oCRttKEH A.2784@TK2MSFTN GP09.phx.gbl...[color=blue]
      > Hi,
      >
      > I have some problems with catching exceptions in my programs because they
      > are rised in another thread.
      >
      > I was thinking on create a delegate called ExceptionManage r or something
      > similiar, in order to notify the client of the process when an exception[/color]
      was[color=blue]
      > rised.
      >
      > There is simple solution for that in the framework?
      >
      > Regards, José.
      >
      >[/color]


      Comment

      Working...