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

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