ServiceInstallerDialog::Result Property
.NET Framework (current version)
Gets the dialog result for the service account form.
Assembly: System.ServiceProcess (in System.ServiceProcess.dll)
public: property ServiceInstallerDialogResult Result { ServiceInstallerDialogResult get(); }
Property Value
Type: System.ServiceProcess.Design::ServiceInstallerDialogResultA ServiceInstallerDialogResult indicating the user response to the dialog box. The default is OK.
Use ShowDialog to prompt the user for the service installation account, then check the Result value. If the value is OK, verify that the input Username and Password are valid.
.NET Framework
Available since 1.1
Available since 1.1
Show: