ServiceBase::ServiceMainCallback Method (Int32, IntPtr)
.NET Framework (current version)
This API supports the product infrastructure and is not intended to be used directly from your code.
Registers the command handler and starts the service.
Assembly: System.ServiceProcess (in System.ServiceProcess.dll)
public: [ComVisibleAttribute(false)] void ServiceMainCallback( int argCount, IntPtr argPointer )
Parameters
- argCount
-
Type:
System::Int32
The number of arguments in the argument array.
- argPointer
-
Type:
System::IntPtr
An IntPtr structure that points to an array of arguments.
.NET Framework
Available since 2.0
Available since 2.0
Show: