Activity.Initialize(IServiceProvider) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
protected public:
virtual void Initialize(IServiceProvider ^ provider);
protected internal virtual void Initialize (IServiceProvider provider);
abstract member Initialize : IServiceProvider -> unit
override this.Initialize : IServiceProvider -> unit
Protected Friend Overridable Sub Initialize (provider As IServiceProvider)
Parameters
- provider
- IServiceProvider
The IServiceProvider that provides the initialization service.
Exceptions
provider
is a null reference (Nothing
in Visual Basic).
Applies to
Surađujte s nama na GitHubu
Izvor za ovaj sadržaj možete pronaći na GitHubu, gdje možete stvarati i pregledavati probleme i zahtjeve za povlačenjem. Dodatne informacije potražite u našem vodiču za suradnike.