ExclusiveHandle 类

定义

向书签添加补充信息,使书签能够访问其范围句柄的子集,从而排除不需要的句柄。Adds supplementary information to a bookmark that enables it to access a subset of its scope handles, excluding handles that are not required.

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

构造函数

ExclusiveHandle()

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

属性

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)
RegisteredBookmarkScopes

获取 ReadOnlyCollection<T> 对象的新的或现有 BookmarkScopeHandleGets a new or existing ReadOnlyCollection<T> of BookmarkScopeHandle objects.

方法

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)
MemberwiseClone()

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

(继承自 Object)
OnInitialize(HandleInitializationContext)

从指定的句柄初始化上下文中的句柄变量创建默认 BookmarkScopeHandle 对象列表。Creates a list of default BookmarkScopeHandle objects from handle variables in the specified handle initialization context.

OnUninitialize(HandleInitializationContext)

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

(继承自 Handle)
RegisterBookmarkScope(NativeActivityContext, BookmarkScopeHandle)

使用指定的上下文将指定书签范围句柄添加到 ReadOnlyCollection<T> 对象的 BookmarkScopeHandleAdds the specified bookmark scope handle to the ReadOnlyCollection<T> of BookmarkScopeHandle objects using the specified context.

Reinitialize(NativeActivityContext)

将已注册书签范围句柄恢复为默认值。Sets the registered bookmark scope handles back to the defaults.

ThrowIfUninitialized()

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

(继承自 Handle)
ToString()

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

(继承自 Object)

适用于