This class proviedes data to asynchronous read line callback method.
NOTE: ReadLine_EventArgs is reused for next read line call, so don't store references to this class.
| C# | Visual Basic | Managed C++ |
public class ReadLine_EventArgs
Public Class ReadLine_EventArgs
public ref class ReadLine_EventArgs
| All Members | Constructors | Methods | Properties | Fields | Events |
| Icon | Member | Description |
|---|---|---|
| Count |
Gets number of bytes stored to LineBuffer.
| |
| Data |
Gets readed line data or null if end of stream reached and no more data.
| |
| DataStringAscii |
Gets readed line data as string with ASCII encoding or returns null if end of stream reached and no more data.
| |
| DataStringDefault |
Gets readed line data as string with system default encoding or returns null if end of stream reached and no more data.
| |
| DataStringUtf8 |
Gets readed line data as string with UTF8 encoding or returns null if end of stream reached and no more data.
| |
| DataToString(Encoding) |
Converts byte[] line data to the specified encoding string.
| |
| Equals(Object) | (Inherited from Object.) | |
| Exception |
Gets exception what happened while reading line. Returns null if read line completed sucessfully.
| |
| Finalize() | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode() | Serves as a hash function for a particular type. GetHashCode() is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.) | |
| GetType() | Gets the Type of the current instance. (Inherited from Object.) | |
| LineBuffer |
Gets buffer argumnet what was passed to BeginReadLine mehtod.
| |
| MemberwiseClone() | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| ReadedCount |
Gets number of bytes actualy readed from source stream. Returns 0 if end of stream reached
and no more data. This value includes any readed byte, including line feed, ... .
| |
| Tag |
Gets tag argument what was pased to BeginReadLine method.
| |
| ToString() | (Inherited from Object.) |
| Object | |
| ReadLine_EventArgs | |
Assembly: LumiSoft.Net Version: 2.0.2636.18419 (Module: LumiSoft.Net)