Method AttachToRunningWorker
- Namespace
- Scaleout.Client.GridDeployment
- Assembly
- Scaleout.Client.dll
AttachToRunningWorker(GridConnection, string, ushort, byte[], InvocationGridOptions)
Starts an Invocation Grid by signaling an already-running worker process.
public static void AttachToRunningWorker(GridConnection conn, string igName, ushort startupPort, byte[] startupParam, InvocationGridOptions options)
Parameters
conn
GridConnectionGridConnection to the local ScaleOut service.
igName
stringName of the Invocation Grid.
startupPort
ushortNetwork port used by the running worker process, used by the ScaleOut service to signal the worker that the IG is starting.
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.
AttachToRunningWorker(GridConnection, string, ushort, byte[])
Starts an Invocation Grid by signaling an already-running worker process.
public static void AttachToRunningWorker(GridConnection conn, string igName, ushort startupPort, byte[] startupParam)
Parameters
conn
GridConnectionGridConnection to the local ScaleOut service.
igName
stringName of the Invocation Grid.
startupPort
ushortNetwork port used by the running worker process, used by the ScaleOut service to signal the worker that the IG is starting.
startupParam
byte[]Optional, arbitrary payload that is made available to the Invocation Grid worker process when it starts up.