ServiceInstallerDialog::Result Property

 

Gets the dialog result for the service account form.

Namespace:   System.ServiceProcess.Design
Assembly:  System.ServiceProcess (in System.ServiceProcess.dll)

public:
property ServiceInstallerDialogResult Result {
	ServiceInstallerDialogResult get();
}

Property Value

Type: System.ServiceProcess.Design::ServiceInstallerDialogResult

A 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
Return to top
Show: