public void RemoveReceiveEndpoint(string url) { if (!Initialized) { throw new NotInitialized(); } ReceiverEndpoint endpoint = _endpoints[url]; if (null == endpoint) { return; } _endpoints.Remove(url); endpoint.Dispose(); }
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(); }