Sdílet prostřednictvím


PSCleanupActivity.GetPowerShell(NativeActivityContext) Method

Definition

Creates and returns an empty powershell

protected:
 override Microsoft::PowerShell::Activities::ActivityImplementationContext ^ GetPowerShell(System::Activities::NativeActivityContext ^ context);
protected override Microsoft.PowerShell.Activities.ActivityImplementationContext GetPowerShell (System.Activities.NativeActivityContext context);
override this.GetPowerShell : System.Activities.NativeActivityContext -> Microsoft.PowerShell.Activities.ActivityImplementationContext
Protected Overrides Function GetPowerShell (context As NativeActivityContext) As ActivityImplementationContext

Parameters

context
NativeActivityContext

activity context

Returns

A new activity implementation context

Applies to