Universal Windows Service Class Library

Installer.Install Method 

Install the service on this computer.

public override void Install(
   IDictionary stateSaver
);

Parameters

stateSaver
IDictionary containing data for commit, rollback or deinstallation.

Remarks

Function installs the service on this computer. All required information about service account, description and so on must done before this function is called.

Exceptions

Exception TypeCondition
ArgumentExceptionThe stateSaver argument is null.
ExceptionAn error during installation occured.

See Also

Installer Class | uws Namespace