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
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.