System.Net.Configuration.WebRequestModulesSectionInternal.GetSection C# (CSharp) Method

GetSection() static private method

static private GetSection ( ) : WebRequestModulesSectionInternal
return WebRequestModulesSectionInternal
        static internal WebRequestModulesSectionInternal GetSection()
        {
            lock (WebRequestModulesSectionInternal.ClassSyncObject)
            {
                WebRequestModulesSection section = PrivilegedConfigurationManager.GetSection(ConfigurationStrings.WebRequestModulesSectionPath) as WebRequestModulesSection;
                if (section == null)
                    return null;

                return new WebRequestModulesSectionInternal(section);
            }
        }
WebRequestModulesSectionInternal