public RegisterSessionHandlerFactoryAsyncResult(MessageSessionPumpHost owner, IMessageSessionAsyncHandlerFactory factory, SessionHandlerOptions options, AsyncCallback callback, object state) : base(TimeSpan.MaxValue, callback, state) { this.owner = owner; this.factory = factory; this.options = options; MessageSessionPumpHost.RegisterSessionHandlerFactoryAsyncResult registerSessionHandlerFactoryAsyncResult = this; registerSessionHandlerFactoryAsyncResult.OnCompleting = (Action <AsyncResult, Exception>)Delegate.Combine(registerSessionHandlerFactoryAsyncResult.OnCompleting, MessageSessionPumpHost.RegisterSessionHandlerFactoryAsyncResult.OnFinally); }
public CloseOrAbortAsyncResult(MessageSessionPumpHost owner, bool shouldAbort, TimeSpan timeout, AsyncCallback callback, object state) : base(timeout, callback, state) { this.owner = owner; this.shouldAbort = shouldAbort; }