System.Net.Mail.SmtpTransport.SmtpTransport C# (CSharp) Method

SmtpTransport() private method

private SmtpTransport ( SmtpClient client, ISmtpAuthenticationModule authenticationModules ) : System.Collections.Generic
client SmtpClient
authenticationModules ISmtpAuthenticationModule
return System.Collections.Generic
        internal SmtpTransport(SmtpClient client, ISmtpAuthenticationModule[] authenticationModules)
        {
            _client = client;

            if (authenticationModules == null)
            {
                throw new ArgumentNullException(nameof(authenticationModules));
            }

            _authenticationModules = authenticationModules;
        }

Same methods

SmtpTransport::SmtpTransport ( SmtpClient client ) : System.Collections.Generic