System.Runtime.Remoting.Messaging.AsyncResult.AsyncDelegate Property

Gets the delegate object on which the asynchronous call was invoked.

Syntax

public virtual object AsyncDelegate { get; }

Value

Documentation for this section has not yet been entered.

Remarks

The AsyncResult.AsyncDelegate property 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.

Requirements

Namespace: System.Runtime.Remoting.Messaging
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0