public UncompletedAsyncResultMarker(AsyncResult result) { AsyncResult = result; }
public static void End(IAsyncResult result) { Fx.AssertAndThrowFatal(result.IsCompleted, "CompletedAsyncResult was not completed!"); AsyncResult.End <CompletedAsyncResult>(result); }
public TransactionSignalScope(AsyncResult result, Transaction transaction) { Fx.Assert(transaction != null, "Null Transaction provided to AsyncResult.TransactionSignalScope."); _parent = result; _transactionScope = Fx.CreateTransactionScope(transaction); }
public static TAsyncResult End(IAsyncResult asyncResult) { return(AsyncResult.End <TAsyncResult>(asyncResult)); }