PSActivity.UpdateImplementationContextForLocalExecution Method

Definition

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

Applies to