protected override void InvokeAsyncCallback(IAsyncExecutionContext executionContext) { Exception exception = executionContext.get_ResponseContext().get_AsyncResult().get_Exception(); if (executionContext.get_ResponseContext().get_AsyncResult().get_Exception() != null) { HandleException(ExecutionContext.CreateFromAsyncContext(executionContext), exception); } this.InvokeAsyncCallback(executionContext); }
protected override void InvokeAsyncCallback(IAsyncExecutionContext executionContext) { if (executionContext.get_ResponseContext().get_AsyncResult().get_Exception() == null) { PostInvoke(ExecutionContext.CreateFromAsyncContext(executionContext)); } this.InvokeAsyncCallback(executionContext); }