Access workflow ExectionProperties from Activity
        Posted  
        
            by 
                rekna
            
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by rekna
        
        
        
        Published on 2012-04-14T09:03:12Z
        Indexed on 
            2012/04/15
            11:29 UTC
        
        
        Read the original article
        Hit count: 201
        
workflow-foundation-4
When I derive an activity from NativeActivity, I can access Workflow executionproperties using the NativeActivityContext like this:
context.Properties.Find("propertyname");
Some of my activities derive from Activity, because I they define a coded workflow using the Implementation property. An Activity has an ActivityContext, which does not provide access to the workflow execution properties, it does not have a Properties property.
Is there another way to get access to the workflow execution properties from within an Activity
© Stack Overflow or respective owner