Namespace:  Rebex.Net
Assembly:  Rebex.Imap (in Rebex.Imap.dll)

Syntax

Visual Basic
<ObsoleteAttribute("This overload of the Connect method has been deprecated and will be removed. Use another variant and specify parameters using Settings object instead.",  _
	True)> _
Public Function Connect ( _
	serverName As String, _
	serverPort As Integer, _
	parameters As TlsParameters, _
	security As ImapSecurity _
) As String
C#
[ObsoleteAttribute("This overload of the Connect method has been deprecated and will be removed. Use another variant and specify parameters using Settings object instead.", 
	true)]
public string Connect(
	string serverName,
	int serverPort,
	TlsParameters parameters,
	ImapSecurity security
)

Parameters

serverName
Type: System..::..String
serverPort
Type: System..::..Int32
parameters
Type: Rebex.Net..::..TlsParameters
security
Type: Rebex.Net..::..ImapSecurity

Version Information

.NET Compact Framework

Obsolete (does not compile) in 3.9, 3.5 and later

See Also