ערוך

שתף באמצעות


Activity.Initialize(IServiceProvider) Method

Definition

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