LumiSoft Mail Server User API
WriteAll Method (stream)
Namespaces > LumiSoft.Net.IO > StreamHelper > WriteAll(Stream)
Writes all stream data to source stream.
Syntax

C# | Visual Basic | Managed C++

    public int WriteAll (
    	Stream stream
    )

    Public Function WriteAll ( _
    	stream As Stream _
    ) As Integer

    public:
    int WriteAll (
    	Stream^ stream
    )

Parameters

stream (Stream)
  Stream which data to write.

Return Value
Returns number of bytes written to source stream.
Exceptions

Exception | Condition
--- | ---
ArgumentNullException | Raised when stream is null.
InvalidOperationException | Raised when there already is pending write operation.

Assembly: LumiSoft.Net Version: 2.0.2636.18419 (Module: LumiSoft.Net)