RunThreadInContext
Executes the code in the callback with a speciec parent context so a specific application name is visible and an optional sessionID, or a specific context can be provided from another request.
If context is provided, application name and sessionID are not allowed.
Method Signature
Arguments
Argument | Type | Required | Description | Default |
---|---|---|---|---|
|
|
| The application name to use run the code in. | |
|
|
| The sessionID to use to run the code in (requires application name). | |
|
|
| The context to use to run the code in. Mututally exclusive with applicationName and sessionId. | |
|
|
| The function to run in the new context. |
Examples
Related
Last updated