void Microsoft.ServiceBus.IDirectConnectionControl.Abort(AbortMessage request)
        {
            DirectConnectionSession directConnectionSession;

            lock (this.ThisLock)
            {
                if (!this.connectionSessions.TryGetValue(request.Id, out directConnectionSession))
                {
                    throw Fx.Exception.AsError(new FaultException(SRClient.InvalidID), null);
                }
            }
            ((IDirectConnectionControl)directConnectionSession).Abort(request);
        }
Esempio n. 2
0
 public virtual void Abort(AbortMessage request)
 {
     this.Failure(new CommunicationException("Connect attempt aborted"));
 }
Esempio n. 3
0
 void Microsoft.ServiceBus.IDirectConnectionControl.Abort(AbortMessage request)
 {
     this.activity.Abort(request);
 }