public void RemoveReceiveEndpoint(string url)
        {
            if (!Initialized)
            {
                throw new NotInitialized();
            }

            ReceiverEndpoint endpoint = _endpoints[url];

            if (null == endpoint)
            {
                return;
            }

            _endpoints.Remove(url);
            endpoint.Dispose();
        }
Esempio n. 2
0
        public void RemoveReceiveEndpoint(string Url)
        {
            if (!this.Initialized)
            {
                throw new NotInitialized();
            }

            ReceiverEndpoint endpoint = (ReceiverEndpoint)this.endpoints[Url];

            if (null == endpoint)
            {
                return;
            }

            this.endpoints.Remove(Url);
            endpoint.Dispose();
        }