Dart.Mail Namespace : TcpBase Class |
The following tables list the members exposed by TcpBase.
Name | Description | |
---|---|---|
CloseTime | Returns the DateTime the connection was closed. | |
ConnectTime | Returns the DateTime the connection was established. | |
Container | (Inherited from System.ComponentModel.Component) | |
Encoding | Character encoding used by the component. (Inherited from Dart.Mail.ComponentBase) | |
NetworkStream | Returns the NetworkStream object created when Connect() is called. | |
RemoteEndPoint | Gets the remote address and port of the connection. | |
Site | (Inherited from System.ComponentModel.Component) | |
Socket | Gets the socket used by the component for communications. (Inherited from Dart.Mail.SocketBase) | |
SocketOption | Gets and sets the socket options for classes derived from TcpBase. | |
SslStream | Returns the SslStream object created when AuthenticateAsClient or AuthenticateAsServer are called. | |
State | Gets the status of the connection as of the last socket operation. | |
SynchronizingObject | Gets or sets the object used to marshal data to the UI thread (for raising events). (Inherited from Dart.Mail.ComponentBase) | |
SyncRoot | Gets an object that is used to synchronize access to the upper layer protocol in use. (Inherited from Dart.Mail.ComponentBase) | |
Tag | Gets or sets an object that stores any user data. (Inherited from Dart.Mail.ComponentBase) |
Name | Description | |
---|---|---|
CanRaiseEvents | (Inherited from System.ComponentModel.Component) | |
DesignMode | (Inherited from System.ComponentModel.Component) | |
Events | (Inherited from System.ComponentModel.Component) |
Name | Description | |
---|---|---|
Abort | Performs a hard close of the connection. | |
AuthenticateAsClient | Overloaded. Authenticates the server when establishing a secure connection. | |
Close | Gracefully closes the connection. | |
Connect | Connect to a server using the configuration specified by session. | |
ConnectAsync | Connect to a server using the configuration specified by session. | |
CreateObjRef | (Inherited from System.MarshalByRefObject) | |
Dispose | Overloaded. Overridden. Disposes of TcpBase and its associated resources. | |
GetLifetimeService | (Inherited from System.MarshalByRefObject) | |
GetStream | Provides access to the underlying Stream. | |
InitializeLifetimeService | (Inherited from System.MarshalByRefObject) | |
Marshal | Overloaded. Marshals data to the UI thread. | |
Read | Overloaded. Receives data from the remote host. | |
ReadAsync | Start an asynchronous read on the socket. | |
ReadToCount | Read until count bytes are read, an exception is thrown, or the connection is closed. | |
ReadToDelimiter | Overloaded. Read until the delimiter is found, an exception is thrown, or the connection is closed. | |
ReadToEnd | Read until the connection is closed or an exception is thrown. | |
ShutdownSsl | Signals the remote host to shutdown the SSL connection. | |
ToString | (Inherited from System.ComponentModel.Component) | |
Write | Overloaded. Sends data to the remote host. | |
WriteAsync | Start an asynchronous write on the socket. |
Name | Description | |
---|---|---|
Finalize | (Inherited from System.ComponentModel.Component) | |
GetService | (Inherited from System.ComponentModel.Component) | |
MemberwiseClone | Overloaded. (Inherited from System.MarshalByRefObject) | |
OnData | Raises the Data event. | |
OnError | Raises the Error event. (Inherited from Dart.Mail.ComponentBase) | |
OnLog | Raises the Log event. | |
OnStateChanged | Raises the StateChanged event. | |
OnUserState | Raises the UserState event. (Inherited from Dart.Mail.ComponentBase) |
Name | Description | |
---|---|---|
Data | Raised when Marshal(Data,String,Object) is used. | |
Disposed | (Inherited from System.ComponentModel.Component) | |
Error | Raised when Marshal(Exception) is used or an unhandled Exception is thrown in a worker thread created using Start. (Inherited from Dart.Mail.ComponentBase) | |
Log | Raised when data is read or written. | |
StateChanged | Raised when the value of the State property changes. | |
UserState | Raised when Marshal(String,Object) is used. (Inherited from Dart.Mail.ComponentBase) |