Called by the workflow runtime to initialize an activity during the construction of a new workflow instance. This method is called during the construction of a dynamic ActivityExecutionContext.
Assembly: System.Workflow.ComponentModel (in System.Workflow.ComponentModel.dll)
provider is a null reference (Nothing in Visual Basic).
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.