System.Net.Mail.SmtpAuthenticationManager.Register C# (CSharp) Méthode

Register() static private méthode

static private Register ( ISmtpAuthenticationModule module ) : void
module ISmtpAuthenticationModule
Résultat void
        internal static void Register(ISmtpAuthenticationModule module)
        {
            if (module == null)
                throw new ArgumentNullException(nameof(module));

            lock (s_modules)
            {
                s_modules.Add(module);
            }
        }