Namespace:  Rebex.Net
Assembly:  Rebex.Smtp (in Rebex.Smtp.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 BeginConnect ( _
	serverName As String, _
	serverPort As Integer, _
	parameters As TlsParameters, _
	security As SmtpSecurity, _
	callback As AsyncCallback, _
	state As Object _
) As IAsyncResult
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 IAsyncResult BeginConnect(
	string serverName,
	int serverPort,
	TlsParameters parameters,
	SmtpSecurity security,
	AsyncCallback callback,
	Object state
)

Parameters

serverName
Type: System..::..String
serverPort
Type: System..::..Int32
parameters
Type: Rebex.Net..::..TlsParameters
security
Type: Rebex.Net..::..SmtpSecurity
callback
Type: System..::..AsyncCallback
state
Type: System..::..Object

Version Information

.NET Compact Framework

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

See Also