Beispiel #1
0
 public void Start(Guid distributionPointId, EventDistributionPoint eventDistributionPoint)
 {
     if (_started)
     {
         throw new InvalidOperationException("Already started");
     }
     _distributionPointId   = distributionPointId;
     _headDistributionPoint = eventDistributionPoint;
     //Guid.Empty means head distribution point
     _headDistributionPoint.Resume();
     _started = true;
 }
Beispiel #2
0
 public void Stop()
 {
     EnsureStarted();
     _headDistributionPoint = null;
     _started = false;
 }