BookmarkScopeHandle 类

定义

Handle用于管理的生存期的 BookmarkScopeA Handle used to manage the lifetime of a BookmarkScope.

public ref class BookmarkScopeHandle sealed : System::Activities::Handle
[System.Runtime.Serialization.DataContract]
public sealed class BookmarkScopeHandle : System.Activities.Handle
[<System.Runtime.Serialization.DataContract>]
type BookmarkScopeHandle = class
    inherit Handle
Public NotInheritable Class BookmarkScopeHandle
Inherits Handle
继承
BookmarkScopeHandle
属性

构造函数

BookmarkScopeHandle()

创建 BookmarkScopeHandle 类的新实例。Creates a new instance of the BookmarkScopeHandle class.

属性

BookmarkScope

与此 BookmarkScope 关联的 BookmarkScopeHandleThe BookmarkScope associated with this BookmarkScopeHandle.

Default

默认的 BookmarkScopeHandleThe default BookmarkScopeHandle.

ExecutionPropertyName

获取在此 Handle 添加到活动的执行属性时要使用的名称。Gets the name to be used by this Handle when added to an activity's execution properties.

(继承自 Handle)
Owner

获取包含 ActivityInstance(其中包含 Variable)的 HandleGets the ActivityInstance that contains the Variable that contains the Handle.

(继承自 Handle)

方法

CreateBookmarkScope(NativeActivityContext)

创建一个新的 BookmarkScopeCreates a new BookmarkScope

CreateBookmarkScope(NativeActivityContext, Guid)

创建一个新的 BookmarkScopeCreates a new BookmarkScope.

Equals(Object)

确定指定对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
GetHashCode()

作为默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
Initialize(NativeActivityContext, Guid)

使用指定的活动上下文和 GUID 标识符初始化 BookmarkScopeInitializes the BookmarkScope, using the specified activity context and GUID identifier.

MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
OnInitialize(HandleInitializationContext)

当初始化包含 Handle 的环境时,由工作流运行时调用。Called by the workflow runtime when the environment that contains the Handle is initialized.

(继承自 Handle)
OnUninitialize(HandleInitializationContext)

VariableHandle 超出作用域时,由工作流运行时调用。Called by the workflow runtime when the Variable for the Handle goes out of scope.

(继承自 Handle)
ThrowIfUninitialized()

如果尚未初始化 InvalidOperationException,则将引发 HandleThrows an InvalidOperationException if the Handle has not been initialized.

(继承自 Handle)
ToString()

返回表示当前对象的字符串。Returns a string that represents the current object.

(继承自 Object)

适用于