Activity::Initialize Method (IServiceProvider^)
.NET Framework (current version)
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)
Parameters
- provider
-
Type:
System::IServiceProvider^
The IServiceProvider that provides the initialization service.
| Exception | Condition |
|---|---|
| ArgumentNullException | provider is a null reference (Nothing in Visual Basic). |
.NET Framework
Available since 3.0
Available since 3.0
Show: