Esta documentación está archivada y no tiene mantenimiento.

Activity.Initialize (Método)

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.

Espacio de nombres: System.Workflow.ComponentModel
Ensamblado: System.Workflow.ComponentModel (en system.workflow.componentmodel.dll)

protected internal virtual void Initialize (
	IServiceProvider provider
protected void Initialize (
	IServiceProvider provider
protected internal function Initialize (
	provider : IServiceProvider
No aplicable.



The IServiceProvider providing the initialization service.

Tipo de excepciónCondición


provider is a null reference (Nothing in Visual Basic).

Windows 98, Windows 2000 Service Pack 4, Windows CE, Windows Millennium, Windows Mobile para Pocket PC, Windows Mobile para Smartphone, Windows Server 2003, Windows XP Media Center, Windows XP Professional x64, Windows XP SP2, Windows XP Starter

Microsoft .NET Framework 3.0 es compatible con Windows Vista, Microsoft Windows XP SP2 y Windows Server 2003 SP1.

.NET Framework

Compatible con: 3.0