BookmarkScope.Initialize(NativeActivityContext, Guid) 方法

定义

使用指定 GUID 初始化当前 BookmarkScope

public:
 void Initialize(System::Activities::NativeActivityContext ^ context, Guid id);
public void Initialize (System.Activities.NativeActivityContext context, Guid id);
member this.Initialize : System.Activities.NativeActivityContext * Guid -> unit
Public Sub Initialize (context As NativeActivityContext, id As Guid)

参数

context
NativeActivityContext

当前活动的执行环境。

id
Guid

要分配给 BookmarkScope 的 GUID。

适用于