LumiSoft Net Help
PostMessage Method (newsgroup, message)
Namespaces ► LumiSoft.Net.NNTP.Client ► NNTP_Client ► PostMessage(String, Stream)
Posts specified message to the specified newsgroup.
Declaration Syntax

C# | Visual Basic | Visual C++ | F#

    public void PostMessage(
    	string newsgroup,
    	Stream message
    )

    Public Sub PostMessage (
    	newsgroup As String,
    	message As Stream
    )

    public:
    void PostMessage(
    	String^ newsgroup,
    	Stream^ message
    )

    member PostMessage :
            newsgroup : string *
            message : Stream -> unit

Parameters

newsgroup (String)
  Newsgroup where to post message.

message (Stream)
  Message to post. Message is taken from stream current position.

Exceptions

Exception | Condition
--- | ---
ObjectDisposedException | Is raised when this object is disposed and this method is accessed.
InvalidOperationException | Is raised when NNTP client is not connected.

Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119