185 lines
8.7 KiB
XML
185 lines
8.7 KiB
XML
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
<Type Name="CustomErrorsSection" FullName="System.Web.Configuration.CustomErrorsSection">
|
||
|
<TypeSignature Language="C#" Value="public sealed class CustomErrorsSection : System.Configuration.ConfigurationSection" />
|
||
|
<AssemblyInfo>
|
||
|
<AssemblyName>System.Web</AssemblyName>
|
||
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
||
|
</AssemblyInfo>
|
||
|
<Base>
|
||
|
<BaseTypeName>System.Configuration.ConfigurationSection</BaseTypeName>
|
||
|
</Base>
|
||
|
<Interfaces />
|
||
|
<Docs>
|
||
|
<since version=".NET 2.0" />
|
||
|
<remarks>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>The <see cref="T:System.Web.Configuration.CustomErrorsSection" /> class provides a way to programmatically access and modify the customErrors section of a configuration file. This type is part of a group that includes the <see cref="T:System.Web.Configuration.CustomErrorCollection" />, <see cref="T:System.Web.Configuration.CustomErrorsMode" />, and <see cref="T:System.Web.Configuration.CustomError" /> types.</para>
|
||
|
<block subset="none" type="note">
|
||
|
<para>The <see cref="T:System.Web.Configuration.CustomErrorsSection" /> can read and write information from and to the related section of the configuration file according to the section property <see cref="P:System.Configuration.SectionInformation.AllowDefinition" /> whose value is <see cref="F:System.Configuration.ConfigurationAllowDefinition.Everywhere" />. </para>
|
||
|
</block>
|
||
|
</remarks>
|
||
|
<summary>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>Configures the ASP.NET custom errors. This class cannot be inherited.</para>
|
||
|
</summary>
|
||
|
</Docs>
|
||
|
<Members>
|
||
|
<Member MemberName=".ctor">
|
||
|
<MemberSignature Language="C#" Value="public CustomErrorsSection ();" />
|
||
|
<MemberType>Constructor</MemberType>
|
||
|
<Parameters />
|
||
|
<Docs>
|
||
|
<since version=".NET 2.0" />
|
||
|
<remarks>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>The <see cref="M:System.Web.Configuration.CustomErrorsSection.#ctor" /> constructor is not intended to be used directly from your code. It is called by the ASP.NET configuration system. You obtain an instance of the <see cref="T:System.Web.Configuration.CustomErrorsSection" /> class by using the <see cref="M:System.Configuration.Configuration.GetSection(System.String)" /> method.</para>
|
||
|
</remarks>
|
||
|
<summary>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>Initializes a new instance of the <see cref="T:System.Web.Configuration.CustomErrorsSection" /> class using default settings.</para>
|
||
|
</summary>
|
||
|
</Docs>
|
||
|
<AssemblyInfo>
|
||
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
||
|
</AssemblyInfo>
|
||
|
</Member>
|
||
|
<Member MemberName="DefaultRedirect">
|
||
|
<MemberSignature Language="C#" Value="public string DefaultRedirect { set; get; }" />
|
||
|
<MemberType>Property</MemberType>
|
||
|
<Attributes>
|
||
|
<Attribute>
|
||
|
<AttributeName>System.Configuration.ConfigurationProperty("defaultRedirect")</AttributeName>
|
||
|
</Attribute>
|
||
|
</Attributes>
|
||
|
<ReturnValue>
|
||
|
<ReturnType>System.String</ReturnType>
|
||
|
</ReturnValue>
|
||
|
<Docs>
|
||
|
<value>To be added.</value>
|
||
|
<since version=".NET 2.0" />
|
||
|
<remarks>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>If the <see cref="P:System.Web.Configuration.CustomErrorsSection.DefaultRedirect" /> is not specified, a standard error is displayed instead. The <see cref="P:System.Web.Configuration.CustomErrorsSection.DefaultRedirect" /> specifies the generic error page to activate in case no error custom page exists.</para>
|
||
|
<block subset="none" type="note">
|
||
|
<para>The URL might be an absolute or a relative value. A relative URL is relative to the Web.config file that specified the <see cref="P:System.Web.Configuration.CustomErrorsSection.DefaultRedirect" />, not to the Web page in which the error occurred. A relative URL starting with a tilde (~) is relative to the root path of the application.</para>
|
||
|
</block>
|
||
|
</remarks>
|
||
|
<summary>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>Gets or sets the default URL for redirection.</para>
|
||
|
</summary>
|
||
|
</Docs>
|
||
|
<AssemblyInfo>
|
||
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
||
|
</AssemblyInfo>
|
||
|
</Member>
|
||
|
<Member MemberName="DeserializeSection">
|
||
|
<MemberSignature Language="C#" Value="protected override void DeserializeSection (System.Xml.XmlReader reader);" />
|
||
|
<MemberType>Method</MemberType>
|
||
|
<ReturnValue>
|
||
|
<ReturnType>System.Void</ReturnType>
|
||
|
</ReturnValue>
|
||
|
<Parameters>
|
||
|
<Parameter Name="reader" Type="System.Xml.XmlReader" />
|
||
|
</Parameters>
|
||
|
<Docs>
|
||
|
<param name="reader">To be added.</param>
|
||
|
<summary>To be added.</summary>
|
||
|
<remarks>To be added.</remarks>
|
||
|
<since version=".NET 2.0" />
|
||
|
</Docs>
|
||
|
<AssemblyInfo>
|
||
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
||
|
</AssemblyInfo>
|
||
|
</Member>
|
||
|
<Member MemberName="Errors">
|
||
|
<MemberSignature Language="C#" Value="public System.Web.Configuration.CustomErrorCollection Errors { get; }" />
|
||
|
<MemberType>Property</MemberType>
|
||
|
<Attributes>
|
||
|
<Attribute>
|
||
|
<AttributeName>System.Configuration.ConfigurationProperty("", Options=System.Configuration.ConfigurationPropertyOptions.IsDefaultCollection)</AttributeName>
|
||
|
</Attribute>
|
||
|
</Attributes>
|
||
|
<ReturnValue>
|
||
|
<ReturnType>System.Web.Configuration.CustomErrorCollection</ReturnType>
|
||
|
</ReturnValue>
|
||
|
<Docs>
|
||
|
<value>To be added.</value>
|
||
|
<since version=".NET 2.0" />
|
||
|
<remarks>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>Each error is associated with a custom error condition and specifies a custom error page. </para>
|
||
|
</remarks>
|
||
|
<summary>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>Gets the collection of the <see cref="T:System.Web.Configuration.CustomError" /> objects.</para>
|
||
|
</summary>
|
||
|
</Docs>
|
||
|
<AssemblyInfo>
|
||
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
||
|
</AssemblyInfo>
|
||
|
</Member>
|
||
|
<Member MemberName="Mode">
|
||
|
<MemberSignature Language="C#" Value="public System.Web.Configuration.CustomErrorsMode Mode { set; get; }" />
|
||
|
<MemberType>Property</MemberType>
|
||
|
<Attributes>
|
||
|
<Attribute>
|
||
|
<AttributeName>System.Configuration.ConfigurationProperty("mode", DefaultValue="RemoteOnly")</AttributeName>
|
||
|
</Attribute>
|
||
|
</Attributes>
|
||
|
<ReturnValue>
|
||
|
<ReturnType>System.Web.Configuration.CustomErrorsMode</ReturnType>
|
||
|
</ReturnValue>
|
||
|
<Docs>
|
||
|
<value>To be added.</value>
|
||
|
<since version=".NET 2.0" />
|
||
|
<remarks>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>Specifies whether custom errors are enabled, disabled, or shown only to remote clients.</para>
|
||
|
</remarks>
|
||
|
<summary>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>Gets or sets the error display modality.</para>
|
||
|
</summary>
|
||
|
</Docs>
|
||
|
<AssemblyInfo>
|
||
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
||
|
</AssemblyInfo>
|
||
|
</Member>
|
||
|
<Member MemberName="Properties">
|
||
|
<MemberSignature Language="C#" Value="protected override System.Configuration.ConfigurationPropertyCollection Properties { get; }" />
|
||
|
<MemberType>Property</MemberType>
|
||
|
<ReturnValue>
|
||
|
<ReturnType>System.Configuration.ConfigurationPropertyCollection</ReturnType>
|
||
|
</ReturnValue>
|
||
|
<Docs>
|
||
|
<summary>To be added.</summary>
|
||
|
<value>To be added.</value>
|
||
|
<remarks>To be added.</remarks>
|
||
|
<since version=".NET 2.0" />
|
||
|
</Docs>
|
||
|
<AssemblyInfo>
|
||
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
||
|
</AssemblyInfo>
|
||
|
</Member>
|
||
|
<Member MemberName="Reset">
|
||
|
<MemberSignature Language="C#" Value="protected override void Reset (System.Configuration.ConfigurationElement parentElement);" />
|
||
|
<MemberType>Method</MemberType>
|
||
|
<ReturnValue>
|
||
|
<ReturnType>System.Void</ReturnType>
|
||
|
</ReturnValue>
|
||
|
<Parameters>
|
||
|
<Parameter Name="parentElement" Type="System.Configuration.ConfigurationElement" />
|
||
|
</Parameters>
|
||
|
<Docs>
|
||
|
<param name="parentElement">To be added.</param>
|
||
|
<summary>To be added.</summary>
|
||
|
<remarks>To be added.</remarks>
|
||
|
<since version=".NET 2.0" />
|
||
|
</Docs>
|
||
|
<AssemblyInfo>
|
||
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
||
|
</AssemblyInfo>
|
||
|
</Member>
|
||
|
</Members>
|
||
|
</Type>
|