语言

ServiceInstallerDialog.Result 属性

定义

获取服务帐户窗体的对话框结果。

public:
 property System::ServiceProcess::Design::ServiceInstallerDialogResult Result { System::ServiceProcess::Design::ServiceInstallerDialogResult get(); };
public System.ServiceProcess.Design.ServiceInstallerDialogResult Result { get; }
member this.Result : System.ServiceProcess.Design.ServiceInstallerDialogResult
Public ReadOnly Property Result As ServiceInstallerDialogResult

属性值

指示 ServiceInstallerDialogResult 用户对对话框的响应。 默认值为 OK。

注解

用于 ShowDialog 提示用户输入服务安装帐户,然后检查 Result 该值。 如果值为, OK请验证输入 Username 是否 Password 有效。

适用于

另请参阅