---
Product: Aspose.PDF
Platform: net
Page Type: reference
Canonical URL: https://reference.aspose.org/pdf/net/WarningInfo
---

# WarningInfo

## Overview

`WarningInfo` is a class in Aspose.PDF FOSS for .NET.

This class provides 2 methods for working with WarningInfo objects in .NET programs.
Available methods include: `WarningInfo`.
All public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package.
Properties: `WarningMessage`, `WarningType`, `WarningTypeProperty`.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `WarningMessage` | `string` | Read | Gets the warning message. |
| `WarningTypeProperty` | `WarningType` | Read | Warning category emitted by the saver/loader. |
| `WarningType` | `int` | Read | FOSS-legacy int-typed warning code. |

## Methods

| Signature | Description |
|-----------|-------------|
| `WarningInfo()` | Calls WarningInfo on this WarningInfo instance. |
| `WarningInfo(type: WarningType, message: string)` |  |

## See Also

- [Aspose.PDF for .NET — Enterprise API Reference](https://reference.aspose.com/pdf/net/)