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 BasicManaged 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
ExceptionCondition
ArgumentNullExceptionRaised when stream is null.
InvalidOperationExceptionRaised when there already is pending write operation.

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