IMessage Interface
Contains communication data sent between cooperating message sinks.
For a list of all members of this type, see IMessage Members.
[Visual Basic] Public Interface IMessage [C#] public interface IMessage [C++] public __gc __interface IMessage [JScript] public interface IMessage
Classes that Implement IMessage
| Class | Description |
|---|---|
| ReturnMessage | Holds a message returned in response to a method call on a remote object. |
Remarks
Message sinks that use 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 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
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
Assembly: Mscorlib (in Mscorlib.dll)
See Also
IMessage Members | System.Runtime.Remoting.Messaging Namespace