อ่านในภาษาอังกฤษ แก้ไข

แชร์ผ่าน


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.

C#
protected internal virtual void Initialize(IServiceProvider provider);

Parameters

provider
IServiceProvider

The IServiceProvider that provides the initialization service.

Exceptions

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

Applies to

ผลิตภัณฑ์ เวอร์ชัน
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1