OutOfProcessNodeInstance.PrepareNodeProcessStartInfo メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
Node.js プロセスを ProcessStartInfo 起動する方法を説明するインスタンスを構成します。
protected:
virtual System::Diagnostics::ProcessStartInfo ^ PrepareNodeProcessStartInfo(System::String ^ entryPointFilename, System::String ^ projectPath, System::String ^ commandLineArguments, System::Collections::Generic::IDictionary<System::String ^, System::String ^> ^ environmentVars, bool launchWithDebugging, int debuggingPort);
protected virtual System.Diagnostics.ProcessStartInfo PrepareNodeProcessStartInfo (string entryPointFilename, string projectPath, string commandLineArguments, System.Collections.Generic.IDictionary<string,string> environmentVars, bool launchWithDebugging, int debuggingPort);
abstract member PrepareNodeProcessStartInfo : string * string * string * System.Collections.Generic.IDictionary<string, string> * bool * int -> System.Diagnostics.ProcessStartInfo
override this.PrepareNodeProcessStartInfo : string * string * string * System.Collections.Generic.IDictionary<string, string> * bool * int -> System.Diagnostics.ProcessStartInfo
Protected Overridable Function PrepareNodeProcessStartInfo (entryPointFilename As String, projectPath As String, commandLineArguments As String, environmentVars As IDictionary(Of String, String), launchWithDebugging As Boolean, debuggingPort As Integer) As ProcessStartInfo
パラメーター
- entryPointFilename
- String
Node.js プロセスで実行する必要があるエントリポイント JavaScript ファイル。
- projectPath
- String
プロジェクトのルート パス。 これは、プロジェクト ルートを基準 Node.js モジュールを検索するときに使用されます。
- commandLineArguments
- String
Node.js プロセスに渡されるコマンド ライン引数。
- environmentVars
- IDictionary<String,String>
Node.js プロセスで設定する環境変数。
- launchWithDebugging
- Boolean
true の場合は、V8 Inspector 接続を受け入れるように指示するフラグを Node.js プロセスに渡します。
- debuggingPort
- Int32
デバッグが有効になっている場合、Node.js プロセスは、このポートで V8 Inspector 接続をリッスンする必要があります。