PSActivity.UpdateImplementationContextForLocalExecution Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Updates the ImplementationContext returned from GetPowerShell() to support local execution against the host's runspace pool.
protected public:
void UpdateImplementationContextForLocalExecution(Microsoft::PowerShell::Activities::ActivityImplementationContext ^ implementationContext, System::Activities::ActivityContext ^ context);
protected internal void UpdateImplementationContextForLocalExecution (Microsoft.PowerShell.Activities.ActivityImplementationContext implementationContext, System.Activities.ActivityContext context);
member this.UpdateImplementationContextForLocalExecution : Microsoft.PowerShell.Activities.ActivityImplementationContext * System.Activities.ActivityContext -> unit
Protected Friend Sub UpdateImplementationContextForLocalExecution (implementationContext As ActivityImplementationContext, context As ActivityContext)
Parameters
- implementationContext
- ActivityImplementationContext
The implementation context returned by GetPowerShell()
- context
- ActivityContext
The activity context to use