c# - Call signature of Func<TResult>.BeginInvoke -
i trying write async operation using c# , .net 4.5/4.6, , trying use func.begininvoke()
here's msdn's begininvoke page says:
public virtual iasyncresult begininvoke( asynccallback callback, object object )
unfortunatly there's no information on second parameter (object) is, , primary msdn async tutorial page shows:
// initiate asychronous call. iasyncresult result = caller.begininvoke(3000, out threadid, null, null);
which isn't supported function definition!
looks .net documentation has gotten substantially worse since last time looked @ it.
help appreciated!
in begininvoke object argument pass callback. available property in parameter callback. pass delegate itself, call endinvoke on it.
Comments
Post a Comment