Show Table of Contents
22.9. .NET Binding for the C++ Messaging API Class: Sender
Table 22.9. .NET Binding for the C++ Messaging API Class: Sender
| .NET Binding Class: Sender | |
|---|---|
| Language | Syntax |
| C++ | class Sender |
| .NET | public ref class Sender |
| Constructor | |
| .NET | Constructed object is returned by session.createSender |
| Copy constructor | |
| C++ | Sender(const Sender&); |
| .NET | public Sender(Sender sender); |
| Destructor | |
| C++ | ~Sender(); |
| .NET | ~Sender(); |
| Finalizer | |
| C++ | not applicable |
| .NET | !Sender() |
| Copy assignment operator | |
| C++ | Sender& operator=(const Sender&); |
| .NET | public Sender op_Assign(Sender rhs); |
| Method: Send | |
| C++ | void send(const Message& message, bool sync=false); |
| .NET | public void Send(Message mmsgp); |
| .NET | public void Send(Message mmsgp, bool sync); |
| Method: Close | |
| C++ | void close(); |
| .NET | public void Close(); |
| Property: Capacity | |
| C++ | void setCapacity(uint32_t); |
| C++ | uint32_t getCapacity(); |
| .NET | public uint Capacity { get; set; } |
| Property: Available | |
| C++ | uint32_t getAvailable(); |
| .NET | public uint Available { get; } |
| Property: Unsettled | |
| C++ | uint32_t getUnsettled(); |
| .NET | public uint Unsettled { get; } |
| Property: Name | |
| C++ | const std::string& getName() const; |
| .NET | public string Name { get; } |
| Property: Session | |
| C++ | Session getSession() const; |
| .NET | public Session Session { get; } |
See Also:

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.