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