System.Runtime.Serialization.IFormatter.Binder Property

Gets or sets the System.Runtime.Serialization.SerializationBinder that performs type lookups during deserialization.

Syntax

public SerializationBinder Binder { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

When trying to resolve a type from information encoded on the stream, the formatter calls the SerializationBinder.BindToType(string, string) method on the System.Runtime.Serialization.SerializationBinder. This method resolves these parameters to a Type object. The binder can find a Type at deserialization time that is in a different assembly than it was at serialization time.

Setting this property has no effect during serialization.

Requirements

Namespace: System.Runtime.Serialization
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0