Gets the delegate object on which the asynchronous call was invoked.
Assembly: mscorlib (in mscorlib.dll)
Theproperty can be cast to the actual class of the user-defined delegate.
For example, if the delegate that was used to make the asynchronous call is of type MyDelegate, the delegate that is returned by this property must be cast to MyDelegate. The callback method can then call the delegate's EndInvoke method with the correct signature, in order to obtain the results of the asynchronous method call.
The example consists of two classes, the class that contains the method which is called asynchronously, and the class that contains the Main method that makes the call.
For more information on the way this callback example works, and more examples of calling methods asynchronously by using delegates, see Calling Synchronous Methods Asynchronously.
Available since 1.1