Namespace:  Rebex.Legacy
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 Shared Function BeginConnect ( _
	instance As Smtp, _
	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 static IAsyncResult BeginConnect(
	Smtp instance,
	string serverName,
	int serverPort,
	TlsParameters parameters,
	SmtpSecurity security,
	AsyncCallback callback,
	Object state
)

Parameters

instance
Type: Rebex.Net..::..Smtp
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

Obsolete (does not compile) in 4.5.x, 4.0 and later

.NET Standard 2.0

Obsolete (does not compile) in .NET Core 3.1; .NET Core 2.1; Xamarin.Android 10.1 (or higher); Xamarin.iOS 13.10 (or higher) and later

See Also