Пример #1
0
        public void RemoveReceiveEndpoint(string url)
        {
            if (!Initialized)
            {
                throw new NotInitialized();
            }

            ReceiverEndpoint endpoint = _endpoints[url];

            if (null == endpoint)
            {
                return;
            }

            _endpoints.Remove(url);
            endpoint.Dispose();
        }
Пример #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();
        }