ActivitySurrogateSelector 类

定义

注意

The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*

选择可用于序列化的 Activity代理项。 此类不能被继承。

public ref class ActivitySurrogateSelector sealed : System::Runtime::Serialization::SurrogateSelector
public sealed class ActivitySurrogateSelector : 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
[<System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")>]
type ActivitySurrogateSelector = class
    inherit SurrogateSelector
Public NotInheritable Class ActivitySurrogateSelector
Inherits SurrogateSelector
继承
ActivitySurrogateSelector
属性

注解

注释

此材料讨论已过时的类型和命名空间。 有关详细信息,请参阅 Windows Workflow Foundation 4.50 中的 Deprecated Types。

序列化代理项提供一个对象,该对象可以处理不同对象的序列化要求,并在必要时转换序列化的数据。

构造函数

名称 说明
ActivitySurrogateSelector()
已过时.

初始化 ActivitySurrogateSelector 类的新实例。

属性

名称 说明
Default
已过时.

获取默认值 ActivitySurrogateSelector。 此属性为只读。

方法

名称 说明
AddSurrogate(Type, StreamingContext, ISerializationSurrogate)
已过时.

将代理项添加到选中的代理项列表中。

(继承自 SurrogateSelector)
ChainSelector(ISurrogateSelector)
已过时.

将可以处理特定对象类型的指定 ISurrogateSelector 添加到代理项列表中。

(继承自 SurrogateSelector)
Equals(Object)
已过时.

确定指定的对象是否等于当前对象。

(继承自 Object)
GetHashCode()
已过时.

用作默认哈希函数。

(继承自 Object)
GetNextSelector()
已过时.

返回选择器链上的下一个选择器。

(继承自 SurrogateSelector)
GetSurrogate(Type, StreamingContext, ISurrogateSelector)
已过时.

查找表示指定类型的代理项,从指定序列化上下文的指定代理项选择器开始。

GetType()
已过时.

获取当前实例的 Type

(继承自 Object)
MemberwiseClone()
已过时.

创建当前 Object的浅表副本。

(继承自 Object)
RemoveSurrogate(Type, StreamingContext)
已过时.

删除与给定类型关联的代理项。

(继承自 SurrogateSelector)
ToString()
已过时.

返回一个表示当前对象的字符串。

(继承自 Object)

适用于