private ServiceBusNamespace TryGetNamespace(string name) { try { return ServiceBusClient.Namespaces.Get(name).Namespace; } catch (CloudException) { // The namespace does not exist. return null; } }