ServiceControllerExtensionsChangeStartMode Method

Scanjour Workflow4 Reference Manual

[Missing <summary> documentation for "M:Scanjour.Workflow4.Common.ServiceControllerExtensions.ChangeStartMode(System.ServiceProcess.ServiceController,System.ServiceProcess.ServiceStartMode)"]

Namespace:  Scanjour.Workflow4.Common
Assembly:  Scanjour.Workflow4.Common (in Scanjour.Workflow4.Common.dll) Version: 23.1.0.0 (23.1.0.0)
Syntax

public static void ChangeStartMode(
	this ServiceController svc,
	ServiceStartMode mode
)

Parameters

svc
Type: System.ServiceProcessServiceController

[Missing <param name="svc"/> documentation for "M:Scanjour.Workflow4.Common.ServiceControllerExtensions.ChangeStartMode(System.ServiceProcess.ServiceController,System.ServiceProcess.ServiceStartMode)"]

mode
Type: System.ServiceProcessServiceStartMode

[Missing <param name="mode"/> documentation for "M:Scanjour.Workflow4.Common.ServiceControllerExtensions.ChangeStartMode(System.ServiceProcess.ServiceController,System.ServiceProcess.ServiceStartMode)"]

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ServiceController. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also

Reference