Partager via


PSActivity.GetImplementation(NativeActivityContext) Method

Definition

Overload this method to implement any command-type specific preparations. If this command needs any workflow-specific information during its PrepareSession call, it should be stored in ActivityImplementationContext.WorkflowContext.

protected:
 virtual System::Collections::Generic::List<Microsoft::PowerShell::Activities::ActivityImplementationContext ^> ^ GetImplementation(System::Activities::NativeActivityContext ^ context);
protected virtual System.Collections.Generic.List<Microsoft.PowerShell.Activities.ActivityImplementationContext> GetImplementation (System.Activities.NativeActivityContext context);
abstract member GetImplementation : System.Activities.NativeActivityContext -> System.Collections.Generic.List<Microsoft.PowerShell.Activities.ActivityImplementationContext>
override this.GetImplementation : System.Activities.NativeActivityContext -> System.Collections.Generic.List<Microsoft.PowerShell.Activities.ActivityImplementationContext>
Protected Overridable Function GetImplementation (context As NativeActivityContext) As List(Of ActivityImplementationContext)

Parameters

context
NativeActivityContext

The activity context to use

Returns

Applies to