PSActivity.UpdateImplementationContextForLocalExecution(ActivityImplementationContext, ActivityContext) PSActivity.UpdateImplementationContextForLocalExecution(ActivityImplementationContext, ActivityContext) PSActivity.UpdateImplementationContextForLocalExecution(ActivityImplementationContext, ActivityContext) Method

Definition

Updates the ImplementationContext returned from GetPowerShell() to support local execution against the host's runspace pool.

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 ActivityImplementationContext ActivityImplementationContext

The implementation context returned by GetPowerShell()

context
ActivityContext ActivityContext ActivityContext

The activity context to use

Applies to