IRemotingFormatter Interface

Definition

Provides the remote procedure call (RPC) interface for all formatters.

public interface IRemotingFormatter : System.Runtime.Serialization.IFormatter
[System.Runtime.InteropServices.ComVisible(true)]
public interface IRemotingFormatter : System.Runtime.Serialization.IFormatter
Derived
Attributes
Implements

Remarks

The IRemotingFormatter interface allows the implementing formatter to send and receive remote procedure calls (RPCs). For more information, see BinaryFormatter. This interface is derived from IFormatter.

Properties

Binder

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

(Inherited from IFormatter)
Context

Gets or sets the StreamingContext used for serialization and deserialization.

(Inherited from IFormatter)
SurrogateSelector

Gets or sets the SurrogateSelector used by the current formatter.

(Inherited from IFormatter)

Methods

Deserialize(Stream, HeaderHandler)

Begins the deserialization process of a remote procedure call (RPC).

Deserialize(Stream)
Obsolete.

Deserializes the data on the provided stream and reconstitutes the graph of objects.

(Inherited from IFormatter)
Serialize(Stream, Object, Header[])

Starts the serialization process of a remote procedure call (RPC).

Serialize(Stream, Object)
Obsolete.

Serializes an object, or graph of objects with the given root to the provided stream.

(Inherited from IFormatter)

Applies to

Product Versions
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1