System.Runtime.Remoting.Messaging.IMessage

Contains communication data sent between cooperating message sinks.

See Also: IMessage Members

Syntax

[System.Runtime.InteropServices.ComVisible(true)]
public interface IMessage

Remarks

Message sinks that use System.Runtime.Remoting.Messaging.IMessage can be placed in the client sink chains or in the server sink chains. A message object is passed from message sink to message sink through the chain, and carries a set of named properties such as action identifiers, envoy information, and parameters.

An object that implements the System.Runtime.Remoting.Messaging.IMessage interface meets the minimum qualifications to be considered a message object. The exact object received by a message sink does not have to be passed on to the next sink, but this is often the case.

Although the objects in the property bag do not have to be serializable, the message sink implementer needs to consider this, since the properties that flow out of the application domain must be serializable.

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