public ICoordinationListener Add(ITwoPhaseCommitCoordinator serviceInstance)
        {
            DebugTrace.TraceEnter("CoordinationService.Add (ITwoPhaseCommitCoordinator)");
            this.AssertProtocolServiceMode();
            IWSTwoPhaseCommitCoordinator dispatcher = TwoPhaseCommitCoordinatorDispatcher.Instance(this, serviceInstance);
            ICoordinationListener        listener   = this.CreateService(dispatcher, dispatcher.ContractType, BindingStrings.TwoPhaseCommitCoordinatorSuffix(this.protocolVersion));

            DebugTrace.TraceLeave("CoordinationService.Add (ITwoPhaseCommitCoordinator)");
            return(listener);
        }
 public TwoPhaseCommitCoordinatorDispatcher11(CoordinationService service, ITwoPhaseCommitCoordinator dispatch)
 {
     ProtocolVersionHelper.AssertProtocolVersion11(service.ProtocolVersion, typeof(TwoPhaseCommitCoordinatorDispatcher11), "constr");
     this.twoPhaseCommitCoordinatorDispatcher = new TwoPhaseCommitCoordinatorDispatcher(service, dispatch);
 }
 public TwoPhaseCommitCoordinatorDispatcher11(CoordinationService service, ITwoPhaseCommitCoordinator dispatch)
 {
     ProtocolVersionHelper.AssertProtocolVersion11(service.ProtocolVersion, typeof(TwoPhaseCommitCoordinatorDispatcher11), "constr");
     this.twoPhaseCommitCoordinatorDispatcher = new TwoPhaseCommitCoordinatorDispatcher(service, dispatch);
 }