IP*Works! V9 - Online Help
IP*Works! V9
Questions / Feedback?

SetMessageStream Method

Sets the stream to which the message downloaded from the server will be written.

Syntax

[VB.NET]
Public Sub SetMessageStream(ByVal MessageStream As System.IO.Stream)
[C#]
public void SetMessageStream(System.IO.Stream messageStream);

Remarks

This method sets the stream to which the message downloaded from the server will be written. If a download stream is set before the Retrieve method is called, the downloaded data will be written to the stream. The stream should be open and normally set to position 0. The component will automatically close this stream if CloseStreamAfterTransfer is set to true (default). If the stream is closed, you will need to call SetMessageStream again before calling Retrieve again. The downloaded content will be written starting at the current position in the stream.

Note: SetMessageStream and LocalFile will reset the other.

NOTE: This method has a corresponding asynchronous version (SetMessageStreamAsync) for use in the Xamarin environment.

 
 
Copyright (c) 2018 /n software inc. - All rights reserved.
Build 9.0.6635.0