Click or drag to resize
ActionHookBase2OnBeforeSwitchService Method
Called before switch service.

Namespace: Atomia.Provisioning.Base.Plugins
Assembly: Atomia.Provisioning.Base.Plugins (in Atomia.Provisioning.Base.Plugins.dll) Version: 17.3.6337.16010
Syntax
public virtual Service OnBeforeSwitchService(
	Service service,
	string newServiceName,
	Dictionary<string, string> arguments,
	string configurationArgument,
	out bool overridesDefaultBehavior
)

Parameters

service
Type: Service
The service to change.
newServiceName
Type: SystemString
New name of the service.
arguments
Type: System.Collections.GenericDictionaryString, String
The arguments passed from API.
configurationArgument
Type: SystemString
The configuration argument from configuration file.
overridesDefaultBehavior
Type: SystemBoolean
If set to true overrides default behavior.

Return Value

Type: Service
New service instance.
See Also