Редагувати

Поділитися через


WorkflowMarkupSerializationManager Class

Definition

Manages design-time serialization to and from extensible Application Markup Language (XAML) for workflows.

public ref class WorkflowMarkupSerializationManager : IServiceProvider, System::ComponentModel::Design::Serialization::IDesignerSerializationManager
public class WorkflowMarkupSerializationManager : IServiceProvider, System.ComponentModel.Design.Serialization.IDesignerSerializationManager
type WorkflowMarkupSerializationManager = class
    interface IDesignerSerializationManager
    interface IServiceProvider
Public Class WorkflowMarkupSerializationManager
Implements IDesignerSerializationManager, IServiceProvider
Inheritance
WorkflowMarkupSerializationManager
Implements

Remarks

Note

This material discusses types and namespaces that are obsolete. For more information, see Deprecated Types in Windows Workflow Foundation 4.5.

A workflow or activity designer can use WorkflowMarkupSerializationManager to access services useful to managing design-time serialization processes. For example, WorkflowMarkupSerializationManager can be used to create objects, look up types, identify objects, and customize the serialization of particular types.

Constructors

WorkflowMarkupSerializationManager(IDesignerSerializationManager)

Initializes a new instance of the WorkflowMarkupSerializationManager class by using the specified IDesignerSerializationManager.

Properties

Context

Gets a stack-based, user-defined storage area that is useful for communication between serializers.

LocalAssembly

Gets or sets the assembly that is associated with the current serializer.

SerializationManager

Gets or sets the serialization manager to use with the current serializer.

Methods

AddSerializationProvider(IDesignerSerializationProvider)

Adds the specified serialization provider to the serialization manager.

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetSerializer(Type, Type)

Returns a serializer of the specified type for an object of the specified type.

GetService(Type)

Returns a service object of the specified type.

GetType()

Gets the Type of the current instance.

(Inherited from Object)
GetType(String)

Returns a type of the specified name.

GetType(XmlQualifiedName)

Returns that type associated with the specified XML qualified name.

GetXmlQualifiedName(Type, String)

Returns the XML-qualified name associated with the specified type.

MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
RemoveSerializationProvider(IDesignerSerializationProvider)

Removes a custom serialization provider from the WorkflowMarkupSerializationManager.

ReportError(Object)

Reports an error in serialization.

ToString()

Returns a string that represents the current object.

(Inherited from Object)

Explicit Interface Implementations

IDesignerSerializationManager.CreateInstance(Type, ICollection, String, Boolean)

Creates an instance of the specified type and adds it to a collection of named instances.

IDesignerSerializationManager.GetInstance(String)

Returns an instance of a created object of the specified name.

IDesignerSerializationManager.GetName(Object)

Returns the name of the specified object.

IDesignerSerializationManager.Properties

Gets a collection of properties that can be serialized with available serializers.

IDesignerSerializationManager.ResolveName

Occurs when IDesignerSerializationManager.GetName(Object) cannot locate the specified name in the serialization manager's name table.

IDesignerSerializationManager.SerializationComplete

Occurs when serialization is complete.

IDesignerSerializationManager.SetName(Object, String)

Sets the name of the specified existing object.

Extension Methods

GetKeyedService<T>(IServiceProvider, Object)

Get service of type T from the IServiceProvider.

GetKeyedServices(IServiceProvider, Type, Object)

Get an enumeration of services of type serviceType from the IServiceProvider.

GetKeyedServices<T>(IServiceProvider, Object)

Get an enumeration of services of type T from the IServiceProvider.

GetRequiredKeyedService(IServiceProvider, Type, Object)

Get service of type serviceType from the IServiceProvider.

GetRequiredKeyedService<T>(IServiceProvider, Object)

Get service of type T from the IServiceProvider.

CreateAsyncScope(IServiceProvider)

Creates a new AsyncServiceScope that can be used to resolve scoped services.

CreateScope(IServiceProvider)

Creates a new IServiceScope that can be used to resolve scoped services.

GetRequiredService(IServiceProvider, Type)

Get service of type serviceType from the IServiceProvider.

GetRequiredService<T>(IServiceProvider)

Get service of type T from the IServiceProvider.

GetService<T>(IServiceProvider)

Get service of type T from the IServiceProvider.

GetServices(IServiceProvider, Type)

Get an enumeration of services of type serviceType from the IServiceProvider.

GetServices<T>(IServiceProvider)

Get an enumeration of services of type T from the IServiceProvider.

GetFakeLogCollector(IServiceProvider)

Gets the object that collects log records sent to the fake logger.

GetFakeRedactionCollector(IServiceProvider)

Gets the fake redactor collector instance from the dependency injection container.

Applies to