示例#1
0
        Task <ISendTransport> IServiceBusHostControl.CreateSendTransport(ServiceBusEndpointAddress address)
        {
            if (_host == null)
            {
                throw new InvalidOperationException("The host is not ready.");
            }

            return(_host.CreateSendTransport(address));
        }
示例#2
0
        Task <ISendTransport> ISendTransportProvider.GetSendTransport(Uri address)
        {
            var endpointAddress = new ServiceBusEndpointAddress(_host.Address, address);

            return(_host.CreateSendTransport(endpointAddress));
        }