public System.IAsyncResult BeginDoWork(FileSilverlightApplication.FileServiceReference.DoWorkRequest request, System.AsyncCallback callback, object asyncState) { object[] _args = new object[1]; _args[0] = request; System.IAsyncResult _result = base.BeginInvoke("DoWork", _args, callback, asyncState); return(_result); }
public void DoWorkAsync(FileSilverlightApplication.FileServiceReference.DoWorkRequest request, object userState) { if ((this.onBeginDoWorkDelegate == null)) { this.onBeginDoWorkDelegate = new BeginOperationDelegate(this.OnBeginDoWork); } if ((this.onEndDoWorkDelegate == null)) { this.onEndDoWorkDelegate = new EndOperationDelegate(this.OnEndDoWork); } if ((this.onDoWorkCompletedDelegate == null)) { this.onDoWorkCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDoWorkCompleted); } base.InvokeAsync(this.onBeginDoWorkDelegate, new object[] { request }, this.onEndDoWorkDelegate, this.onDoWorkCompletedDelegate, userState); }
private System.IAsyncResult OnBeginDoWork(object[] inValues, System.AsyncCallback callback, object asyncState) { FileSilverlightApplication.FileServiceReference.DoWorkRequest request = ((FileSilverlightApplication.FileServiceReference.DoWorkRequest)(inValues[0])); return(((FileSilverlightApplication.FileServiceReference.IFileService)(this)).BeginDoWork(request, callback, asyncState)); }
public void DoWorkAsync(FileSilverlightApplication.FileServiceReference.DoWorkRequest request) { this.DoWorkAsync(request, null); }
System.IAsyncResult FileSilverlightApplication.FileServiceReference.IFileService.BeginDoWork(FileSilverlightApplication.FileServiceReference.DoWorkRequest request, System.AsyncCallback callback, object asyncState) { return(base.Channel.BeginDoWork(request, callback, asyncState)); }