Edit

Share via


SoapFormatter.SurrogateSelector Property

Definition

Gets or sets the SurrogateSelector that controls type substitution during serialization and deserialization.

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

Property Value

The SurrogateSelector used with this SoapFormatter.

Implements

Remarks

Used by System.Runtime.Remoting to generate ObjRef instances for MarshalByRefObject objects.

Applies to