public HostReceiveEndpointHandle ConnectSubscriptionEndpoint <T>(string subscriptionName, Action <IServiceBusSubscriptionEndpointConfigurator> configure = null) where T : class { if (_host == null) { throw new InvalidOperationException("The host is not ready."); } return(_host.ConnectSubscriptionEndpoint <T>(subscriptionName, configure)); }