Activity.Initialize(IServiceProvider) Método

Definição

Chamado pelo runtime de fluxo de trabalho para inicializar uma atividade durante a construção de uma nova instância de fluxo de trabalho.Called by the workflow runtime to initialize an activity during the construction of a new workflow instance. Este método é chamado durante a construção de um ActivityExecutionContext dinâmico.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)

Parâmetros

provider
IServiceProvider

O IServiceProvider que fornece o serviço de inicialização.The IServiceProvider that provides the initialization service.

Exceções

provider é uma referência nula (Nothing no Visual Basic).provider is a null reference (Nothing in Visual Basic).

Aplica-se a