// This is called on the thread that called EngineRequestProcess.Enqueue. HResult IBackgroundRequest.OnEnqueued(BackgroundRequestProcessor processor) { this.Processor = processor; this.responseDispatched = false; this.inProgress = false; HResult hr = this.OnEnqueued(); if (hr.Failed) { this.DispatchResponse(hr); } return hr; }
// This is called on the thread that called EngineRequestProcess.Enqueue. HResult IBackgroundRequest.OnEnqueued(BackgroundRequestProcessor processor) { this.Processor = processor; this.responseDispatched = false; this.inProgress = false; HResult hr = this.OnEnqueued(); if (hr.Failed) { this.DispatchResponse(hr); } return(hr); }