NativeActivity Methods

The NativeActivity type exposes the following members.

  Name Description
Protected method Abort When implemented in a derived class, takes actions in response to the activity being aborted.
Protected method CacheMetadata(ActivityMetadata) Not implemented. Use the CacheMetadata method instead. (Overrides Activity.CacheMetadata(ActivityMetadata).)
Protected method CacheMetadata(NativeActivityMetadata) Creates and validates a description of the activity’s arguments, variables, child activities, and activity delegates.
Protected method Cancel When implemented in a derived class, runs logic to cause graceful early completion of the activity.
Public method Equals(Object) Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Execute When implemented in a derived class, runs the activity’s execution logic.
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method OnCreateDynamicUpdateMap(NativeActivityUpdateMapMetadata, Activity) Raises an event when creating a map for the dynamic update.
Protected method OnCreateDynamicUpdateMap(UpdateMapMetadata, Activity) Raises an event when creating a map for the dynamic update. (Overrides Activity.OnCreateDynamicUpdateMap(UpdateMapMetadata, Activity).)
Public method ShouldSerializeDisplayName Indicates whether the DisplayName property should be serialized. (Inherited from Activity.)
Public method ToString Returns a String that contains the Id and DisplayName of the Activity. (Inherited from Activity.)
Protected method UpdateInstance Updates the instance of NativeActivity.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft