System.Net.Http.Headers.CookieState.CheckValueFormat C# (CSharp) Méthode

CheckValueFormat() private static méthode

private static CheckValueFormat ( string value, string parameterName ) : void
value string
parameterName string
Résultat void
        private static void CheckValueFormat(string value, string parameterName)
        {
            // Empty string is a valid cookie value
            if (value == null)
            {
                throw new ArgumentNullException(parameterName);
            }
        }