Transport
Class
Superclasses
System.Object
Transport
Visual Basic
MustInherit Public Class Transport
C#
public abstract class Transport
Purpose
A transport object represents a delivery mechanism for messages.
Remarks
A transport describes a carrier for messages—whether across a network, among processes on a single computer, or within a process. Transports manage network connections, and send outbound messages.
A transport also defines the delivery scope of a message—that is, the set of possible destinations for the messages it sends.
Destroying a transport object invalidates subsequent send calls on that transport, and invalidates any listeners using that transport. The method Transport.Destroy destroys a transport explicitly and immediately. You can also destroy a transport implicitly by deleting all references to it, but the garbage collector might introduce a delay before it destroys the object.
This abstract class is the superclass of all other transport classes. Methods defined by this class are implemented by all transport subclasses (except CMQueueTransport, for which some methods do not apply).
Intra-Process Transport
Each process has exactly one intra-process transport; the call Environment.Open automatically creates it. Programs must not destroy the intra-process transport.
Method |
Description |
Page |
Public Instance Methods |
||
Enable outbound batching of data from IPM, and set the batch size (in bytes). |
Descendants
See Also
Transport in