ActivitySurrogateSelector Class

 
Note: This API is now obsolete.

Selects the surrogate that can be used to serialize an Activity. This class cannot be inherited.

Namespace:   System.Workflow.ComponentModel.Serialization
Assembly:  System.Workflow.ComponentModel (in System.Workflow.ComponentModel.dll)

System.Object
  System.Runtime.Serialization.SurrogateSelector
    System.Workflow.ComponentModel.Serialization.ActivitySurrogateSelector

[ObsoleteAttribute("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public sealed class ActivitySurrogateSelector : SurrogateSelector

NameDescription
System_CAPS_pubmethodActivitySurrogateSelector()

Initializes a new instance of the ActivitySurrogateSelector class.

NameDescription
System_CAPS_pubpropertySystem_CAPS_staticDefault

Gets the default ActivitySurrogateSelector. This property is read-only.

NameDescription
System_CAPS_pubmethodAddSurrogate(Type, StreamingContext, ISerializationSurrogate)

Adds a surrogate to the list of checked surrogates.(Inherited from SurrogateSelector.)

System_CAPS_pubmethodChainSelector(ISurrogateSelector)

Adds the specified ISurrogateSelector that can handle a particular object type to the list of surrogates.(Inherited from SurrogateSelector.)

System_CAPS_pubmethodEquals(Object)

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

System_CAPS_pubmethodGetHashCode()

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

System_CAPS_pubmethodGetNextSelector()

Returns the next selector on the chain of selectors.(Inherited from SurrogateSelector.)

System_CAPS_pubmethodGetSurrogate(Type, StreamingContext, ISurrogateSelector)

Finds the surrogate that represents the specified type, starting with the specified surrogate selector for the specified serialization context.(Overrides SurrogateSelector.GetSurrogate(Type, StreamingContext, ISurrogateSelector).)

System_CAPS_pubmethodGetType()

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

System_CAPS_pubmethodRemoveSurrogate(Type, StreamingContext)

Removes the surrogate associated with a given type.(Inherited from SurrogateSelector.)

System_CAPS_pubmethodToString()

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

System_CAPS_noteNote

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

A serialization surrogate gives you an object that can handle the serialization requirements of a different object and, if necessary, can transform the serialized data.

.NET Framework
Available since 3.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: