语言

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为ObjRef对象生成MarshalByRefObject实例。

适用于