22.9. .NET Binding for the C++ Messaging API Class: Sender


Expand
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; }
Back to top
Red Hat logoGithubredditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust. Explore our recent updates.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

Theme

© 2025 Red Hat