Proxy Client(String, Int 32) Constructor
Initializes a new instance of the ProxyClient class.
Definition
Namespace: MailKit.Net.Proxy
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
C#
protected ProxyClient(
string host,
int port
)Parameters
Remarks
Initializes a new instance of the ProxyClient class.
Exceptions
| ArgumentNullException | host is . |
| ArgumentOutOfRangeException | port is not between 0 and 65535. |
| ArgumentException |
The host is a zero-length string. -or- The length of host is greater than 255 characters. |