Service
|
public class ServiceInstallerEx : ServiceInstaller
The ServiceInstallerEx type exposes the following members.
Name | Description | |
---|---|---|
ServiceInstallerEx | Creates a new ServiceInstallerEx. |
Name | Description | |
---|---|---|
CanRaiseEvents | Gets a value indicating whether the component can raise an event. (Inherited from Component) | |
Container | Gets the IContainer that contains the Component. (Inherited from Component) | |
Context | Gets or sets information about the current installation. (Inherited from Installer) | |
DelayedAutoStart | Gets or sets a value that indicates whether the service should be delayed from starting until other automatically started services are running. (Inherited from ServiceInstaller) | |
Description | Gets or sets the description for the service. (Inherited from ServiceInstaller) | |
DesignMode | Gets a value that indicates whether the Component is currently in design mode. (Inherited from Component) | |
DisplayName | Indicates the friendly name that identifies the service to the user. (Inherited from ServiceInstaller) | |
Events | Gets the list of event handlers that are attached to this Component. (Inherited from Component) | |
ExecuteActionsOnNonCrashErrors | Sets flag that determines when failure actions are to be executed. | |
FailRebootMessage | Sets the service fail reboot message. | |
FailResetPeriod | Sets the time after which to reset the failure count to zero if there are no failures, in seconds. Specify Infinite to indicate that this value should never be reset. | |
FailRunCommand | Sets the service fail run command. | |
HelpText | Gets the help text for all the installers in the installer collection. (Inherited from Installer) | |
Installers | Gets the collection of installers that this installer contains. (Inherited from Installer) | |
Parent | Gets or sets the installer containing the collection that this installer belongs to. (Inherited from Installer) | |
ServiceName | Indicates the name used by the system to identify this service. This property must be identical to the ServiceName of the service you want to install. (Inherited from ServiceInstaller) | |
ServicesDependedOn | Indicates the services that must be running for this service to run. (Inherited from ServiceInstaller) | |
Site | Gets or sets the ISite of the Component. (Inherited from Component) | |
StartOnInstall | Sets the boolean value to configure the service to start after it is installed. | |
StartTimeout | Sets the service start timeout in milliseconds. | |
StartType | Indicates how and when this service is started. (Inherited from ServiceInstaller) |
Name | Description | |
---|---|---|
Commit | When overridden in a derived class, completes the install transaction. (Inherited from Installer) | |
CopyFromComponent | Copies properties from an instance of ServiceBase to this installer. (Inherited from ServiceInstaller) | |
CreateObjRef | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject) | |
DefineRecoverAction | Defines a new recover action to be performed upon service failure. | |
Dispose | Releases all resources used by the Component. (Inherited from Component) | |
Dispose(Boolean) | Releases the unmanaged resources used by the Component and optionally releases the managed resources. (Inherited from Component) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
Finalize | Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection. (Inherited from Component) | |
GetHashCode | Serves as the default hash function. (Inherited from Object) | |
GetLifetimeService | Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject) | |
GetService | Returns an object that represents a service provided by the Component or by its Container. (Inherited from Component) | |
GetType | Gets the Type of the current instance. (Inherited from Object) | |
InitializeLifetimeService | Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject) | |
Install | Installs the service by writing service application information to the registry. This method is meant to be used by installation tools, which process the appropriate methods automatically. (Inherited from ServiceInstaller) | |
IsEquivalentInstaller | Indicates whether two installers would install the same service. (Inherited from ServiceInstaller) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
MemberwiseClone(Boolean) | Creates a shallow copy of the current MarshalByRefObject object. (Inherited from MarshalByRefObject) | |
OnAfterInstall | Raises the AfterInstall event. (Inherited from Installer) | |
OnAfterRollback | Raises the AfterRollback event. (Inherited from Installer) | |
OnAfterUninstall | Raises the AfterUninstall event. (Inherited from Installer) | |
OnBeforeInstall | Raises the BeforeInstall event. (Inherited from Installer) | |
OnBeforeRollback | Raises the BeforeRollback event. (Inherited from Installer) | |
OnBeforeUninstall | Raises the BeforeUninstall event. (Inherited from Installer) | |
OnCommitted | Raises the Committed event. (Inherited from Installer) | |
OnCommitting | Raises the Committing event. (Inherited from Installer) | |
Rollback | Rolls back service application information written to the registry by the installation procedure. This method is meant to be used by installation tools, which process the appropriate methods automatically. (Inherited from ServiceInstaller) | |
ToString | Returns a String containing the name of the Component, if any. This method should not be overridden. (Inherited from Component) | |
Uninstall | Uninstalls the service by removing information about it from the registry. (Inherited from ServiceInstaller) |
Name | Description | |
---|---|---|
AfterInstall | Occurs after the Install(IDictionary) methods of all the installers in the Installers property have run. (Inherited from Installer) | |
AfterRollback | Occurs after the installations of all the installers in the Installers property are rolled back. (Inherited from Installer) | |
AfterUninstall | Occurs after all the installers in the Installers property perform their uninstallation operations. (Inherited from Installer) | |
BeforeInstall | Occurs before the Install(IDictionary) method of each installer in the installer collection has run. (Inherited from Installer) | |
BeforeRollback | Occurs before the installers in the Installers property are rolled back. (Inherited from Installer) | |
BeforeUninstall | Occurs before the installers in the Installers property perform their uninstall operations. (Inherited from Installer) | |
Committed | Occurs after all the installers in the Installers property have committed their installations. (Inherited from Installer) | |
Committing | Occurs before the installers in the Installers property committ their installations. (Inherited from Installer) | |
Disposed | Occurs when the component is disposed by a call to the Dispose method. (Inherited from Component) |
Name | Description | |
---|---|---|
GetEnumValueOrDefault |
Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions) | |
GetEnumValueOrDefaultT |
Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions) |