RelayConfigurationInstaller Class

Installs the Machine.config settings for the Windows Azure Service Bus relay.

System..::..Object
  System..::..MarshalByRefObject
    System.ComponentModel..::..Component
      System.Configuration.Install..::..Installer
        Microsoft.ServiceBus.Configuration..::..RelayConfigurationInstaller

Namespace:  Microsoft.ServiceBus.Configuration
Assembly:  Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)

public class RelayConfigurationInstaller : Installer

The RelayConfigurationInstaller type exposes the following members.

  NameDescription
Public methodRelayConfigurationInstallerInitializes a new instance of the RelayConfigurationInstaller class.
Top

  NameDescription
Protected propertyCanRaiseEvents (Inherited from Component.)
Public propertyContainer (Inherited from Component.)
Public propertyContext (Inherited from Installer.)
Protected propertyDesignMode (Inherited from Component.)
Protected propertyEvents (Inherited from Component.)
Public propertyHelpText (Inherited from Installer.)
Public propertyInstallers (Inherited from Installer.)
Public propertyParent (Inherited from Installer.)
Public propertySite (Inherited from Component.)
Top

  NameDescription
Public methodStatic memberAddRelayConfigurationAdds the entries of the current instance to the specified configuration.
Public methodCommit (Inherited from Installer.)
Public methodCreateObjRefSecurity Critical. (Inherited from MarshalByRefObject.)
Public methodDispose()()()() (Inherited from Component.)
Protected methodDispose(Boolean) (Inherited from Component.)
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Component.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetLifetimeServiceSecurity Critical. (Inherited from MarshalByRefObject.)
Protected methodGetService (Inherited from Component.)
Public methodGetType (Inherited from Object.)
Public methodInitializeLifetimeServiceSecurity Critical. (Inherited from MarshalByRefObject.)
Public methodInstallAdds the entries to the Machine.config file to allow an application using that configuration to use ServiceBus elements in its config file. (Overrides Installer..::..Install(IDictionary).)
Protected methodMemberwiseClone()()()() (Inherited from Object.)
Protected methodMemberwiseClone(Boolean) (Inherited from MarshalByRefObject.)
Protected methodOnAfterInstall (Inherited from Installer.)
Protected methodOnAfterRollback (Inherited from Installer.)
Protected methodOnAfterUninstall (Inherited from Installer.)
Protected methodOnBeforeInstall (Inherited from Installer.)
Protected methodOnBeforeRollback (Inherited from Installer.)
Protected methodOnBeforeUninstall (Inherited from Installer.)
Protected methodOnCommitted (Inherited from Installer.)
Protected methodOnCommitting (Inherited from Installer.)
Public methodStatic memberRemoveRelayConfigurationRemoves the entries from the specified configuration that allow an application using that configuration to use ServiceBus elements in its config file.
Public methodRollback (Inherited from Installer.)
Public methodToString (Inherited from Component.)
Public methodUninstallRemoves the entries from the machine.config that allow an application using that configuration to use ServiceBus elements in its config file. (Overrides Installer..::..Uninstall(IDictionary).)
Top

  NameDescription
Public eventAfterInstall (Inherited from Installer.)
Public eventAfterRollback (Inherited from Installer.)
Public eventAfterUninstall (Inherited from Installer.)
Public eventBeforeInstall (Inherited from Installer.)
Public eventBeforeRollback (Inherited from Installer.)
Public eventBeforeUninstall (Inherited from Installer.)
Public eventCommitted (Inherited from Installer.)
Public eventCommitting (Inherited from Installer.)
Public eventDisposed (Inherited from Component.)
Top

Windows Azure Service Bus supports only Full Trust code access security.

RelayConfigurationInstaller is a part of the Windows Azure Service Bus assembly, and allows users to easily add the Machine.config settings necessary for the Windows Azure Service Bus bindings to be supported in App.config. To use RelayConfigurationInstaller, either use Installutil.exe or write an application to call the methods needed. You can also use RelayConfigurationInstaller through the RelayConfigurationInstaller.exe tool, located in the <installdir>/Assemblies directory of the SDK.

The primary scenario for RelayConfigurationInstaller is to assist in installing the necessary Machine.config or App.config information necessary to run a Windows Azure Service Bus application on a computer that does not have Windows Azure Service Bus installed. However, in most scenarios, the application installer for the Windows Azure Service Bus application would automatically install the necessary configuration information. Therefore, this API would likely be used by developer who want additional control over the installation process.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions

Show: