| ActionHookBaseOnBeforeSwitchService 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 Object OnBeforeSwitchService(
Object service,
string newServiceName,
Dictionary<string, string> arguments,
string configurationArgument,
out bool overridesDefaultBehavior
)
Public Overridable Function OnBeforeSwitchService (
service As Object,
newServiceName As String,
arguments As Dictionary(Of String, String),
configurationArgument As String,
<OutAttribute> ByRef overridesDefaultBehavior As Boolean
) As Object
public:
virtual Object^ OnBeforeSwitchService(
Object^ service,
String^ newServiceName,
Dictionary<String^, String^>^ arguments,
String^ configurationArgument,
[OutAttribute] bool% overridesDefaultBehavior
)
abstract OnBeforeSwitchService :
service : Object *
newServiceName : string *
arguments : Dictionary<string, string> *
configurationArgument : string *
overridesDefaultBehavior : bool byref -> Object
override OnBeforeSwitchService :
service : Object *
newServiceName : string *
arguments : Dictionary<string, string> *
configurationArgument : string *
overridesDefaultBehavior : bool byref -> Object Parameters
- service
- Type: SystemObject
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 config file. - overridesDefaultBehavior
- Type: SystemBoolean
If set to true overrides default behavior.
Return Value
Type:
ObjectNew service instance.
See Also