How can you pass an exception from an endInvoke statement in an
AsyncCallback Function to the Main Application Thread.
e.g.

Sub Main

Dim ar As IAsyncResult

ar = a.BeginSlowExponent(5, 200, New AsyncCallback(AddressOf
Me.OnEndSlowExponent), a)

End Sub

Public Sub OnEndSlowExponent(ByVal ar As IAsyncResult)

Try

Me.Text = a.EndSlowExponent(ar)

Catch ex As Exception

throw ex 'How do you send this to UI thread.

End Try

End Sub



Any Thoughts?

Thanks

MS