JAMS Developer Guide
AllocateRunspace Method


MVPSI.JAMS.Activities.PowerShell Namespace > PSWorkflowHost Class : AllocateRunspace Method
Allocates a Runspace
Syntax
'Declaration
 
Public Sub AllocateRunspace( _
   ByVal context As System.Activities.NativeActivityContext, _
   ByVal callback As System.Activities.BookmarkCallback _
) 
'Usage
 
Dim instance As PSWorkflowHost
Dim context As System.Activities.NativeActivityContext
Dim callback As System.Activities.BookmarkCallback
 
instance.AllocateRunspace(context, callback)
public void AllocateRunspace( 
   System.Activities.NativeActivityContext context,
   System.Activities.BookmarkCallback callback
)

Parameters

context
callback
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

PSWorkflowHost Class
PSWorkflowHost Members