Method StartLocalDevIG
- Namespace
- Scaleout.Client.GridDeployment
- Assembly
- Scaleout.Client.dll
StartLocalDevIG(GridConnection, string, string, string, string, byte[], InvocationGridOptions)
Starts an Invocation Grid worker using an executable on the local filesystem. Suitable only for development on a standalone (single-host) ScaleOut store that has the ScaleOut service running locally.
public static void StartLocalDevIG(GridConnection conn, string igName, string executableName, string cmdLineParams, string workingDir, byte[] startupParam, InvocationGridOptions options)
Parameters
connGridConnectionGridConnection to the local ScaleOut service.
igNamestringName of the Invocation Grid.
executableNamestringName of the executable to run, relative to the specified
workingDir.cmdLineParamsstringOptional command line parameters to supply to the IG worker process at startup.
workingDirstringWorking directory of the Invocation Grid worker process. This is typically the build output directory of the IG worker process under development.
startupParambyte[]Optional, arbitrary payload that is made available to the Invocation Grid worker process when it starts up.
optionsInvocationGridOptionsAn object that configures the behavior of this invocation grid.
Exceptions
- InvalidOperationException
StartLocalDevIG cannot be called from a remote client.
StartLocalDevIG(GridConnection, string, string, string, string, byte[])
Starts an Invocation Grid worker using an executable on the local filesystem. Suitable only for development on a standalone (single-host) ScaleOut store that has the ScaleOut service running locally.
public static void StartLocalDevIG(GridConnection conn, string igName, string executableName, string cmdLineParams, string workingDir, byte[] startupParam)
Parameters
connGridConnectionGridConnection to the local ScaleOut service.
igNamestringName of the Invocation Grid.
executableNamestringName of the executable to run, relative to the specified
workingDir.cmdLineParamsstringOptional command line parameters to supply to the IG worker process at startup.
workingDirstringWorking directory of the Invocation Grid worker process. This is typically the build output directory of the IG worker process under development.
startupParambyte[]Optional, arbitrary payload that is made available to the Invocation Grid worker process when it starts up.
Exceptions
- InvalidOperationException
StartLocalDevIG cannot be called from a remote client.