System.Runtime.Remoting.Messaging.IRemotingFormatter.Serialize Method

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

Syntax

public void Serialize (System.IO.Stream serializationStream, object graph, Header[] headers)

Parameters

serializationStream
The System.IO.Stream onto which the specified graph is serialized.
graph
The root of the object graph to be serialized.
headers
The array of System.Runtime.Remoting.Messaging.Header objects to transmit with the graph specified by the graph parameter. Can be null.

Remarks

System.Runtime.Remoting.Messaging.Header objects contain information about a remote function call (for example, transaction ID or a method signature).

Note:

See the SOAP specification for more information on headers.

Requirements

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