This documentation is archived and is not being maintained.
ActivityMarkupSerializer Class
Visual Studio 2010
Provides extensible Application Markup Language (XAML) serialization services for an Activity at design time.
System::Object
System.Workflow.ComponentModel.Serialization::WorkflowMarkupSerializer
System.Workflow.ComponentModel.Serialization::ActivityMarkupSerializer
System.Workflow.ComponentModel.Serialization::CompositeActivityMarkupSerializer
System.Workflow.ComponentModel.Serialization::WorkflowMarkupSerializer
System.Workflow.ComponentModel.Serialization::ActivityMarkupSerializer
System.Workflow.ComponentModel.Serialization::CompositeActivityMarkupSerializer
Assembly: System.Workflow.ComponentModel (in System.Workflow.ComponentModel.dll)
The ActivityMarkupSerializer type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | ActivityMarkupSerializer | Initializes a new instance of the ActivityMarkupSerializer class. |
| Name | Description | |
|---|---|---|
![]() | AddChild | Adds a child object to the specified object. (Inherited from WorkflowMarkupSerializer.) |
![]() | CanSerializeToString | Returns a Boolean that indicates whether the specified object can be serialized to a string. (Inherited from WorkflowMarkupSerializer.) |
![]() | ClearChildren | Removes all child objects from the specified object. (Inherited from WorkflowMarkupSerializer.) |
![]() | CreateInstance | Creates an instance of the specified Type using the specified WorkflowMarkupSerializationManager. (Overrides WorkflowMarkupSerializer::CreateInstance(WorkflowMarkupSerializationManager, Type).) |
![]() | Deserialize(XmlReader) | Deserializes workflow markup into an Object. (Inherited from WorkflowMarkupSerializer.) |
![]() | Deserialize(IDesignerSerializationManager, XmlReader) | Deserializes workflow markup into an Object using the specified serialization manager. (Inherited from WorkflowMarkupSerializer.) |
![]() | DeserializeFromString | Deserializes extensible Application Markup Language (XAML) content from the specified string according to the given type of the property to deserialize. (Inherited from WorkflowMarkupSerializer.) |
![]() | Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetChildren | Retrieves a list of child objects for the specified object (Inherited from WorkflowMarkupSerializer.) |
![]() | GetEvents | Retrieves information about all events associated with the specified Object. (Inherited from WorkflowMarkupSerializer.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetProperties | Retrieves information about all properties associated with the specified object. (Inherited from WorkflowMarkupSerializer.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | OnAfterDeserialize | Overridden. Notifies the WorkflowMarkupSerializer that an object has just been deserialized. (Inherited from WorkflowMarkupSerializer.) |
![]() | OnAfterSerialize | Notifies the ActivityMarkupSerializer that an object has just been serialized. (Overrides WorkflowMarkupSerializer::OnAfterSerialize(WorkflowMarkupSerializationManager, Object).) |
![]() | OnBeforeDeserialize | Overridden. Notifies the WorkflowMarkupSerializer that an object is about to be deserialized. (Inherited from WorkflowMarkupSerializer.) |
![]() | OnBeforeSerialize | Notifies the ActivityMarkupSerializer that an object is about to be serialized. (Overrides WorkflowMarkupSerializer::OnBeforeSerialize(WorkflowMarkupSerializationManager, Object).) |
![]() | Serialize(XmlWriter, Object) | Serializes the specified Object into a workflow markup file or stream. (Inherited from WorkflowMarkupSerializer.) |
![]() | Serialize(IDesignerSerializationManager, XmlWriter, Object) | Serializes the specified Object into a workflow markup file or stream using the specified serialization manager. (Inherited from WorkflowMarkupSerializer.) |
![]() | SerializeToString | Serializes the specified Object to a string. (Inherited from WorkflowMarkupSerializer.) |
![]() | ShouldSerializeValue | Returns a value that indicates whether the WorkflowMarkupSerializer should serialize the specified Object. (Inherited from WorkflowMarkupSerializer.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() ![]() | EndColumnProperty | The index of the last character in the activity definition. |
![]() ![]() | EndLineProperty | The index of the last line in the activity definition. |
![]() ![]() | StartColumnProperty | The index of the first character in the activity definition. |
![]() ![]() | StartLineProperty | The index of the first line in the activity definition. |
ActivityMarkupSerializer provides methods that serialize activity class objects into XAML format and deserialize XAML content into activity class objects. These services are primarily used by activity designers to persist the classes on the workflow design surface.
For more information about serialization, see Serialization.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show:
