---
title: "Class WarningInfo"
url: "https://reference.aspose.com/pdf/net/aspose.pdf/warninginfo/"
product: "Aspose.PDF for .NET API Reference"
description: "Aspose.Pdf.WarningInfo class. Immutable object for encapsulating warning information"
---

## WarningInfo class

Immutable object for encapsulating warning information.

```csharp
public sealed class WarningInfo
```

## Constructors

| Name | Description |
| --- | --- |
| [WarningInfo](warninginfo/)(WarningType, string) | Constructs instance for gathering information. |

## Properties

| Name | Description |
| --- | --- |
| [WarningMessage](../../aspose.pdf/warninginfo/warningmessage/) { get; } | Returns string representation of warning message. |
| [WarningTypeProperty](../../aspose.pdf/warninginfo/warningtypeproperty/) { get; } | Returns warning type. |

### See Also

* namespace [Aspose.Pdf](../../aspose.pdf/)
* assembly [Aspose.PDF](../../)


