private void InitializeAppFabric(AzureAppFabricOptions options)
        {
            Debug.Assert(null != options);

            // 1: Create the right credentials
            MyManagementCredentials = TransportClientCredentialBase.CreateSharedSecretCredential(options.AppFabricOwnerName, options.AppFabricOwnerKey);

            // 2: create the uri for the servicebus
            ServiceUri = ServiceBusEnvironment.CreateServiceUri(options.ServiceBusScheme, options.ServiceBusNameSpace, string.Empty);

            // 3: Create the Uri
            NamespaceClient = new ServiceBusNamespaceClient(ServiceUri, MyManagementCredentials);
        }
        public AzureOptions(AzureStorageOptions storageOptions, AzureAppFabricOptions appFabricOptions, AzureDiagnosticsOptions diagnosticsOptions)
        {
            Debug.Assert(null != storageOptions);
            Debug.Assert(null != appFabricOptions);
            Debug.Assert(null != diagnosticsOptions);

            StorageOptions = storageOptions;
            AppFabricOptions = appFabricOptions;
            DiagnosticsOptions = diagnosticsOptions;
        }