PSCleanupActivity.GetPowerShell(NativeActivityContext) 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.
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