AddInProcess.Start 方法

定义

启动外部进程。Starts the external process.

public:
 bool Start();
[System.Security.SecurityCritical]
public bool Start ();
[<System.Security.SecurityCritical>]
member this.Start : unit -> bool
Public Function Start () As Boolean

返回

Boolean

如果成功启动该进程,则为 true;如果该进程已正在运行,则为 falsetrue if the process is successfully started; false if the process is already running.

属性

例外

外接程序正运行在宿主应用程序的进程内。The add-in is running in-process with the host application. 启动和停止进程仅对于外部进程允许,而非主机进程。Starting and stopping the process is allowed only for external processes, not for the host process.

适用于