Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions xml/System/AccessViolationException.xml
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@
<format type="text/markdown"><![CDATA[

## Remarks
This constructor initializes the <xref:System.Exception.Message%2A> property of the new instance to a system-supplied message that describes the error, such as "Attempted to read or write protected memory. This is often an indication that other memory has been corrupted." This message takes into account the current system culture.
This constructor initializes the <xref:System.Exception.Message> property of the new instance to a system-supplied message that describes the error, such as "Attempted to read or write protected memory. This is often an indication that other memory has been corrupted." This message takes into account the current system culture.

The following table shows the initial property values for an instance of <xref:System.AccessViolationException>.

Expand Down Expand Up @@ -290,7 +290,7 @@
<format type="text/markdown"><![CDATA[

## Remarks
An exception that is thrown as a direct result of a previous exception should include a reference to the previous exception in the <xref:System.Exception.InnerException%2A> property. The <xref:System.Exception.InnerException%2A> property returns the same value that is passed into the constructor, or `null` if the <xref:System.Exception.InnerException%2A> property does not supply the inner exception value to the constructor.
An exception that is thrown as a direct result of a previous exception should include a reference to the previous exception in the <xref:System.Exception.InnerException> property. The <xref:System.Exception.InnerException> property returns the same value that is passed into the constructor, or `null` if the <xref:System.Exception.InnerException> property does not supply the inner exception value to the constructor.

The following table shows the initial property values for an instance of <xref:System.AccessViolationException>.

Expand Down
6 changes: 3 additions & 3 deletions xml/System/AggregateException.xml
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@
<format type="text/markdown"><![CDATA[

## Remarks
This constructor initializes the <xref:System.Exception.Message%2A> property of the new instance to a system-supplied message that describes the error, such as "System.AggregateException: One or more errors occurred." This message takes into account the current system culture.
This constructor initializes the <xref:System.Exception.Message> property of the new instance to a system-supplied message that describes the error, such as "System.AggregateException: One or more errors occurred." This message takes into account the current system culture.

The following table shows the initial property values for an instance of <xref:System.AggregateException>.

Expand Down Expand Up @@ -506,7 +506,7 @@
<format type="text/markdown"><![CDATA[

## Remarks
An exception that is thrown as a direct result of a previous exception should include a reference to the previous exception in the <xref:System.Exception.InnerException%2A> property. The <xref:System.Exception.InnerException%2A> property returns the same value that is passed into the constructor, or `null` if the <xref:System.Exception.InnerException%2A> property does not supply the inner exception value to the constructor.
An exception that is thrown as a direct result of a previous exception should include a reference to the previous exception in the <xref:System.Exception.InnerException> property. The <xref:System.Exception.InnerException> property returns the same value that is passed into the constructor, or `null` if the <xref:System.Exception.InnerException> property does not supply the inner exception value to the constructor.

The following table shows the initial property values for an instance of <xref:System.AggregateException>.

Expand Down Expand Up @@ -632,7 +632,7 @@
<format type="text/markdown"><![CDATA[

## Remarks
If a task has an attached child task that throws an exception, that exception is wrapped in an <xref:System.AggregateException> exception before it is propagated to the parent task, which wraps that exception in its own <xref:System.AggregateException> exception before it propagates it back to the calling thread. In such cases, the <xref:System.AggregateException.InnerExceptions%2A> property of the <xref:System.AggregateException> exception that is caught by the <xref:System.Threading.Tasks.Task.Wait%2A?displayProperty=nameWithType>, <xref:System.Threading.Tasks.Task.Wait*>, <xref:System.Threading.Tasks.Task.WaitAny%2A?displayProperty=nameWithType> or <xref:System.Threading.Tasks.Task.WaitAll%2A?displayProperty=nameWithType> method contains one or more <xref:System.AggregateException> instances, not the original exceptions that caused the fault. To avoid having to iterate over nested <xref:System.AggregateException> exceptions, you can use the <xref:System.AggregateException.Flatten%2A> method to remove all the nested <xref:System.AggregateException> exceptions, so that the <xref:System.AggregateException.InnerExceptions%2A> property of the returned <xref:System.AggregateException> object contains the original exceptions.
If a task has an attached child task that throws an exception, that exception is wrapped in an <xref:System.AggregateException> exception before it is propagated to the parent task, which wraps that exception in its own <xref:System.AggregateException> exception before it propagates it back to the calling thread. In such cases, the <xref:System.AggregateException.InnerExceptions> property of the <xref:System.AggregateException> exception that is caught by the <xref:System.Threading.Tasks.Task.Wait%2A?displayProperty=nameWithType>, <xref:System.Threading.Tasks.Task.Wait*>, <xref:System.Threading.Tasks.Task.WaitAny%2A?displayProperty=nameWithType> or <xref:System.Threading.Tasks.Task.WaitAll%2A?displayProperty=nameWithType> method contains one or more <xref:System.AggregateException> instances, not the original exceptions that caused the fault. To avoid having to iterate over nested <xref:System.AggregateException> exceptions, you can use the <xref:System.AggregateException.Flatten%2A> method to remove all the nested <xref:System.AggregateException> exceptions, so that the <xref:System.AggregateException.InnerExceptions> property of the returned <xref:System.AggregateException> object contains the original exceptions.

This method recursively flattens all instances of <xref:System.AggregateException> exceptions that are inner exceptions of the current <xref:System.AggregateException> instance. The inner exceptions returned in the new <xref:System.AggregateException> are the union of all the inner exceptions from exception tree rooted at the current <xref:System.AggregateException> instance.

Expand Down
4 changes: 2 additions & 2 deletions xml/System/AppContext.xml
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@

## Remarks

This is a per-application domain property. Its value corresponds to the <xref:System.AppDomain.BaseDirectory%2A?displayProperty=nameWithType> property of the current application domain.
This is a per-application domain property. Its value corresponds to the <xref:System.AppDomain.BaseDirectory?displayProperty=nameWithType> property of the current application domain.

In .NET 5 and later versions, for bundled assemblies, the value returned is the containing directory of the host executable.

Expand Down Expand Up @@ -383,7 +383,7 @@ In .NET 5 and later versions, for bundled assemblies, the value returned is the
<format type="text/markdown"><![CDATA[

## Remarks
The name of the target framework version corresponds to the value of the <xref:System.Runtime.Versioning.TargetFrameworkAttribute.FrameworkName%2A?displayProperty=nameWithType> property. For a list of target framework names for .NET Framework, see the [&lt;supportedRuntime&gt; Element](/dotnet/framework/configure-apps/file-schema/startup/supportedruntime-element) element.
The name of the target framework version corresponds to the value of the <xref:System.Runtime.Versioning.TargetFrameworkAttribute.FrameworkName?displayProperty=nameWithType> property. For a list of target framework names for .NET Framework, see the [&lt;supportedRuntime&gt; Element](/dotnet/framework/configure-apps/file-schema/startup/supportedruntime-element) element.

]]></format>
</remarks>
Expand Down
Loading
Loading