ActionHookBase2OnBeforeSwitchService Method |
Called before switch service.
Namespace: Atomia.Provisioning.Base.PluginsAssembly: Atomia.Provisioning.Base.Plugins (in Atomia.Provisioning.Base.Plugins.dll) Version: 17.3.6337.16010
Syntaxpublic virtual Service OnBeforeSwitchService(
Service service,
string newServiceName,
Dictionary<string, string> arguments,
string configurationArgument,
out bool overridesDefaultBehavior
)
Public Overridable Function OnBeforeSwitchService (
service As Service,
newServiceName As String,
arguments As Dictionary(Of String, String),
configurationArgument As String,
<OutAttribute> ByRef overridesDefaultBehavior As Boolean
) As Service
public:
virtual Service^ OnBeforeSwitchService(
Service^ service,
String^ newServiceName,
Dictionary<String^, String^>^ arguments,
String^ configurationArgument,
[OutAttribute] bool% overridesDefaultBehavior
)
abstract OnBeforeSwitchService :
service : Service *
newServiceName : string *
arguments : Dictionary<string, string> *
configurationArgument : string *
overridesDefaultBehavior : bool byref -> Service
override OnBeforeSwitchService :
service : Service *
newServiceName : string *
arguments : Dictionary<string, string> *
configurationArgument : string *
overridesDefaultBehavior : bool byref -> Service
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:
ServiceNew service instance.
See Also