SoapFormatter.SurrogateSelector 属性

定义

获取或设置 SurrogateSelector,它控制序列化和反序列化过程中的类型替换。

public:
 property System::Runtime::Serialization::ISurrogateSelector ^ SurrogateSelector { System::Runtime::Serialization::ISurrogateSelector ^ get(); void set(System::Runtime::Serialization::ISurrogateSelector ^ value); };
public System.Runtime.Serialization.ISurrogateSelector SurrogateSelector { get; set; }
member this.SurrogateSelector : System.Runtime.Serialization.ISurrogateSelector with get, set
Public Property SurrogateSelector As ISurrogateSelector

属性值

与此 SurrogateSelector 一起使用的 SoapFormatter

实现

注解

System.Runtime.Remoting用于为 MarshalByRefObject 对象生成ObjRef实例。

适用于