System.Runtime.Remoting.Messaging.IMessage Interface

Assembly: Mscorlib.dll
Namespace: System.Runtime.Remoting.Messaging
Summary
Contains communication data sent between cooperating message sinks.
C# Syntax:
public interface IMessage
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.

See also:
System.Runtime.Remoting.Messaging Namespace

System.Runtime.Remoting.Messaging.IMessage Member List:

Public Properties
Properties Read-only

Gets an IDictionary that represents a collection of the message's properties.

System.Runtime.Remoting.Messaging.IMessage Member Details

Property: Properties (read-only)
Summary
Gets an IDictionary that represents a collection of the message's properties.
C# Syntax:
IDictionary Properties {get;}

Return to top


Top of page

Copyright (c) 2002 Microsoft Corporation. All rights reserved.