Export (0) Print
Expand All

IRemotingFormatter Interface

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

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

public interface IRemotingFormatter : 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.5.2, 4.5.1, 4.5, 4, 3.5, 3.0, 2.0, 1.1, 1.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

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

© 2014 Microsoft