NoPersistHandle Class
TOC
Collapse the table of content
Expand the table of content

NoPersistHandle Class

.NET Framework (current version)
 

Manages the lifetime of a no-persist block.

Namespace:   System.Activities
Assembly:  System.Activities (in System.Activities.dll)

System.Object
  System.Activities.Handle
    System.Activities.NoPersistHandle

[DataContractAttribute]
public class NoPersistHandle : Handle

NameDescription
System_CAPS_pubmethodNoPersistHandle()

Initializes a new instance of the NoPersistHandle class.

NameDescription
System_CAPS_pubpropertyExecutionPropertyName

Gets the name to be used by this Handle when added to an activity’s execution properties.(Inherited from Handle.)

System_CAPS_pubpropertyOwner

Gets the ActivityInstance that contains the Variable that contains the Handle.(Inherited from Handle.)

NameDescription
System_CAPS_pubmethodEnter(NativeActivityContext)

Marks the beginning of the no-persist block.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodExit(NativeActivityContext)

Marks the end of the no-persist block.

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_protmethodOnInitialize(HandleInitializationContext)

Called by the workflow runtime when the environment that contains the Handle is initialized.(Inherited from Handle.)

System_CAPS_protmethodOnUninitialize(HandleInitializationContext)

Called by the workflow runtime when the Variable for the Handle goes out of scope.(Inherited from Handle.)

System_CAPS_protmethodThrowIfUninitialized()

Throws an InvalidOperationException if the Handle has not been initialized.(Inherited from Handle.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

.NET Framework
Available since 4.0

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft