This documentation is archived and is not being maintained.

IRemotingFormatter Interface

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

Namespace:  System.Runtime.Remoting.Messaging
Assembly:  mscorlib (in mscorlib.dll)

type IRemotingFormatter =  
        interface IFormatter

The IRemotingFormatter type exposes the following members.

Public propertyBinderGets or sets the SerializationBinder that performs type lookups during deserialization. (Inherited from IFormatter.)
Public propertyContextGets or sets the StreamingContext used for serialization and deserialization. (Inherited from IFormatter.)
Public propertySurrogateSelectorGets or sets the SurrogateSelector used by the current formatter. (Inherited from IFormatter.)

Public methodDeserialize(Stream)Deserializes the data on the provided stream and reconstitutes the graph of objects. (Inherited from IFormatter.)
Public methodDeserialize(Stream, HeaderHandler)Begins the deserialization process of a remote procedure call (RPC).
Public methodSerialize(Stream, Object)Serializes an object, or graph of objects with the given root to the provided stream. (Inherited from IFormatter.)
Public methodSerialize(Stream, Object, Header[])Starts the serialization process of a remote procedure call (RPC).

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.

.NET Framework

Supported in: 4, 3.5, 3.0, 2.0, 1.1, 1.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.