System.Runtime.Remoting.Messaging Namespace

 

The System.Runtime.Remoting.Messaging namespace contains classes used to create and transmit messages. The remoting infrastructure uses messages to communicate with remote objects. Messages are used to transmit remote method calls, to activate remote objects, and to communicate information. A message object carries a set of named properties, including action identifiers, envoy information, and parameters. Some of the most important classes of the System.Runtime.Remoting.Messaging namespace are the AsyncResult class, the RemotingSurrogateSelector class, and the ReturnMessage class.

ClassDescription
System_CAPS_pubclassAsyncResult

Encapsulates the results of an asynchronous operation on a delegate.

System_CAPS_pubclassCallContext

Provides a set of properties that are carried with the execution code path. This class cannot be inherited.

System_CAPS_pubclassConstructionCall

This API supports the product infrastructure and is not intended to be used directly from your code. Implements the IConstructionCallMessage interface to create a request message that constitutes a constructor call on a remote object.

System_CAPS_pubclassConstructionResponse

This API supports the product infrastructure and is not intended to be used directly from your code. Implements the IConstructionReturnMessage interface to create a message that responds to a call to instantiate a remote object.

System_CAPS_pubclassHeader

Defines the out-of-band data for a call.

System_CAPS_pubclassInternalMessageWrapper

This API supports the product infrastructure and is not intended to be used directly from your code. Wraps remoting data for passing between message sinks, either for requests from client to server or for the subsequent responses.

System_CAPS_pubclassLogicalCallContext

Provides a set of properties that are carried with the execution code path during remote method calls.

System_CAPS_pubclassMethodCall

This API supports the product infrastructure and is not intended to be used directly from your code. Implements the IMethodCallMessage interface to create a request message that acts as a method call on a remote object.

System_CAPS_pubclassMethodCallMessageWrapper

This API supports the product infrastructure and is not intended to be used directly from your code. Implements the IMethodCallMessage interface to create a request message that acts as a method call on a remote object.

System_CAPS_pubclassMethodResponse

This API supports the product infrastructure and is not intended to be used directly from your code. Implements the IMethodReturnMessage interface to create a message that acts as a method response on a remote object.

System_CAPS_pubclassMethodReturnMessageWrapper

This API supports the product infrastructure and is not intended to be used directly from your code. Implements the IMethodReturnMessage interface to create a message that acts as a response to a method call on a remote object.

System_CAPS_pubclassOneWayAttribute

Marks a method as one way, without a return value and out or ref parameters.

System_CAPS_pubclassRemotingSurrogateSelector

Selects the remoting surrogate that can be used to serialize an object that derives from a MarshalByRefObject.

System_CAPS_pubclassReturnMessage

Holds a message returned in response to a method call on a remote object.

InterfaceDescription
System_CAPS_pubinterfaceILogicalThreadAffinative

Marks an object that can propagate outside of an AppDomain in a LogicalCallContext.

System_CAPS_pubinterfaceIMessage

Contains communication data sent between cooperating message sinks.

System_CAPS_pubinterfaceIMessageCtrl

Provides a way to control asynchronous messages after they have dispatched using the IMessageSink.AsyncProcessMessage.

System_CAPS_pubinterfaceIMessageSink

Defines the interface for a message sink.

System_CAPS_pubinterfaceIMethodCallMessage

Defines the method call message interface.

System_CAPS_pubinterfaceIMethodMessage

Defines the method message interface.

System_CAPS_pubinterfaceIMethodReturnMessage

Defines the method call return message interface.

System_CAPS_pubinterfaceIRemotingFormatter

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

DelegateDescription
System_CAPS_pubdelegateHeaderHandler

Represents the method that will handle processing of headers on the stream during deserialization.

System_CAPS_pubdelegateMessageSurrogateFilter

Determines whether the RemotingSurrogateSelector class should ignore a particular IMessage property while creating an ObjRef for a MarshalByRefObject class.

The AsyncResult class stores and returns the results of an asynchronous method call. AsyncResult instances contain the return value, call status, the delegate used for the call, and the other information about the asynchronous method call.

The RemotingSurrogateSelector class can be used to control serialization of objects that extend MarshalByRefObject. A RemotingSurrogateSelector selects the surrogate used in serialization and deserialization of such objects. A surrogate is an object that can control serialization or deserialization of an object.

The ReturnMessage class holds information returned after a remote method call. A ReturnMessage holds the return value and any out or ref parameters that resulted from the remote method call.

Return to top
Show: