System.Configuration.BaseConfigurationRecord.ValidateProtectionProviderAttribute C# (CSharp) Метод

ValidateProtectionProviderAttribute() статический приватный Метод

static private ValidateProtectionProviderAttribute ( string protectionProvider, IConfigErrorInfo errorInfo ) : string
protectionProvider string
errorInfo IConfigErrorInfo
Результат string
        static internal string ValidateProtectionProviderAttribute(string protectionProvider, IConfigErrorInfo errorInfo) {
            if (String.IsNullOrEmpty(protectionProvider)) {
                throw new ConfigurationErrorsException(SR.GetString(SR.Protection_provider_invalid_format), errorInfo);
            }

            return protectionProvider;
        }
BaseConfigurationRecord