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
conn
GridConnectionGridConnection to the local ScaleOut service.
igName
stringName of the Invocation Grid.
executableName
stringName of the executable to run, relative to the specified
workingDir
.cmdLineParams
stringOptional command line parameters to supply to the IG worker process at startup.
workingDir
stringWorking directory of the Invocation Grid worker process. This is typically the build output directory of the IG worker process under development.
startupParam
byte[]Optional, arbitrary payload that is made available to the Invocation Grid worker process when it starts up.
options
InvocationGridOptionsAn 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
conn
GridConnectionGridConnection to the local ScaleOut service.
igName
stringName of the Invocation Grid.
executableName
stringName of the executable to run, relative to the specified
workingDir
.cmdLineParams
stringOptional command line parameters to supply to the IG worker process at startup.
workingDir
stringWorking directory of the Invocation Grid worker process. This is typically the build output directory of the IG worker process under development.
startupParam
byte[]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.