IsChannelRequired() public static method

public static IsChannelRequired ( Uri destination ) : bool
destination System.Uri
return bool
 // TODO: To remove this function which is not referenced anywhere.
 protected override void InitChannelCurrentSubscription(bool force)
 {
     if (StorageCredentialsFactory.IsChannelRequired(this.Destination))
     {
         Channel = CreateChannel();
     }
 }
        private StorageCredentialsFactory CreateStorageCredentialsFactory()
        {
            StorageCredentialsFactory storageCredentialsFactory;

            if (StorageCredentialsFactory.IsChannelRequired(Destination))
            {
                storageCredentialsFactory = new StorageCredentialsFactory(this.StorageClient, this.CurrentSubscription);
            }
            else
            {
                storageCredentialsFactory = new StorageCredentialsFactory();
            }

            return(storageCredentialsFactory);
        }