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
Berkolaborasi dengan kami di GitHub
Sumber untuk konten ini dapat ditemukan di GitHub, yang juga dapat Anda gunakan untuk membuat dan meninjau masalah dan menarik permintaan. Untuk informasi selengkapnya, lihat panduan kontributor kami.