This documentation is archived and is not being maintained.

SoapFormatter.SurrogateSelector Property

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

[Visual Basic]
Public Overridable Property SurrogateSelector As ISurrogateSelector _
    Implements IFormatter.SurrogateSelector
[C#]
public virtual ISurrogateSelector SurrogateSelector {get; set;}
[C++]
public: __property virtual ISurrogateSelector* get_SurrogateSelector();
public: __property virtual void set_SurrogateSelector(ISurrogateSelector*);
[JScript]
public function get SurrogateSelector() : ISurrogateSelector;
public function set SurrogateSelector(ISurrogateSelector);

Property Value

The SurrogateSelector used with this SoapFormatter.

Implements

IFormatter.SurrogateSelector

Remarks

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

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

.NET Framework Security: 

See Also

SoapFormatter Class | SoapFormatter Members | System.Runtime.Serialization.Formatters.Soap Namespace

Show: