Esempio n. 1
0
        Task <ISendTransport> IServiceBusHostControl.CreatePublishTransport <T>()
        {
            if (_host == null)
            {
                throw new InvalidOperationException("The host is not ready.");
            }

            return(_host.CreatePublishTransport <T>());
        }
Esempio n. 2
0
 Task <ISendTransport> IPublishTransportProvider.GetPublishTransport <T>(Uri publishAddress)
 {
     return(_host.CreatePublishTransport <T>());
 }