Skip to content

Commit 1a6989c

Browse files
Copilotadegeo
andcommitted
Remove tab structure from code examples, let metadata handle rendering
Co-authored-by: adegeo <[email protected]>
1 parent 24cf26f commit 1a6989c

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

docs/core/compatibility/windows-forms/10.0/system-drawing-outofmemory-externalexception.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,6 @@ The change to `ExternalException` provides more accurate error reporting, as thi
3838

3939
If your code catches `OutOfMemoryException` when using System.Drawing APIs, ensure you also catch `ExternalException` to handle these GDI+ errors.
4040

41-
### [C#](#tab/csharp)
42-
4341
```csharp
4442
try
4543
{
@@ -55,8 +53,6 @@ catch (OutOfMemoryException ex)
5553
}
5654
```
5755

58-
### [VB.NET](#tab/vb)
59-
6056
```vb
6157
Try
6258
' System.Drawing operations
@@ -67,8 +63,6 @@ Catch ex As OutOfMemoryException
6763
End Try
6864
```
6965

70-
---
71-
7266
## Affected APIs
7367

7468
All System.Drawing APIs that interact with GDI+ and previously could throw `OutOfMemoryException` for `Status.OutOfMemory` errors, including but not limited to:

0 commit comments

Comments
 (0)