Task <ISendTransport> IServiceBusHostControl.CreateSendTransport(ServiceBusEndpointAddress address) { if (_host == null) { throw new InvalidOperationException("The host is not ready."); } return(_host.CreateSendTransport(address)); }
Task <ISendTransport> ISendTransportProvider.GetSendTransport(Uri address) { var endpointAddress = new ServiceBusEndpointAddress(_host.Address, address); return(_host.CreateSendTransport(endpointAddress)); }