示例#1
0
        void IBusHostControl.AddReceiveEndpoint(string endpointName, IReceiveEndpointControl receiveEndpoint)
        {
            if (_host == null)
            {
                throw new InvalidOperationException("The host is not ready.");
            }

            _host.AddReceiveEndpoint(endpointName, receiveEndpoint);
        }