Surrogate Selector Class
This API is now obsolete.
Selects the surrogate that can be used to serialize an Activity. This class cannot be inherited.
public ref class ActivitySurrogateSelector sealed : System::Runtime::Serialization::SurrogateSelector
[System.Obsolete("The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*")] public sealed class ActivitySurrogateSelector : System.Runtime.Serialization.SurrogateSelector
type ActivitySurrogateSelector = class inherit SurrogateSelector
Public NotInheritable Class ActivitySurrogateSelector Inherits SurrogateSelector
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.
Initializes a new instance of the ActivitySurrogateSelector class.
Gets the default ActivitySurrogateSelector. This property is read-only.
|AddSurrogate(Type, StreamingContext, ISerializationSurrogate)||
Adds a surrogate to the list of checked surrogates.(Inherited from SurrogateSelector)
Adds the specified ISurrogateSelector that can handle a particular object type to the list of surrogates.(Inherited from SurrogateSelector)
Determines whether the specified object is equal to the current object.(Inherited from Object)
Serves as the default hash function.(Inherited from Object)
Returns the next selector on the chain of selectors.(Inherited from SurrogateSelector)
|GetSurrogate(Type, StreamingContext, ISurrogateSelector)||
Finds the surrogate that represents the specified type, starting with the specified surrogate selector for the specified serialization context.
Gets the Type of the current instance.(Inherited from Object)
Creates a shallow copy of the current Object.(Inherited from Object)
Removes the surrogate associated with a given type.(Inherited from SurrogateSelector)
Returns a string that represents the current object.(Inherited from Object)