
**Inheritance:**
java.lang.Object, [com.aspose.email.PageSettings](../../com.aspose.email/pagesettings)
```
public class PageSettingsAsync extends PageSettings
```

The settings for the ImapClient.BeginListMessagesByPage async method.
## Constructors

| Constructor | Description |
| --- | --- |
| [PageSettingsAsync()](#PageSettingsAsync--) | Initializes a new instance of the PageSettingsAsync class. |
## Methods

| Method | Description |
| --- | --- |
| [equals(Object arg0)](#equals-java.lang.Object-) |  |
| [getAscendingSorting()](#getAscendingSorting--) | Gets or sets value which indicates if client uses ascending or descending sorting. |
| [getCallback()](#getCallback--) | References a method to be called when a corresponding asynchronous operation completes. |
| [getClass()](#getClass--) |  |
| [getConnection()](#getConnection--) | Connection to a server. |
| [getFolderName()](#getFolderName--) | The messages folder |
| [getIgnoreExceptions()](#getIgnoreExceptions--) | If the property is set to true, exceptions that occur during message processing will be caught and placed in the ImapPageInfo.Items.Exceptions. |
| [getState()](#getState--) | The state. |
| [hashCode()](#hashCode--) |  |
| [notify()](#notify--) |  |
| [notifyAll()](#notifyAll--) |  |
| [setAscendingSorting(boolean value)](#setAscendingSorting-boolean-) | Gets or sets value which indicates if client uses ascending or descending sorting. |
| [setCallback(System.AsyncCallback value)](#setCallback-com.aspose.ms.System.AsyncCallback-) | References a method to be called when a corresponding asynchronous operation completes. |
| [setConnection(IConnection value)](#setConnection-com.aspose.email.IConnection-) | Connection to a server. |
| [setFolderName(String value)](#setFolderName-java.lang.String-) | The messages folder |
| [setIgnoreExceptions(boolean value)](#setIgnoreExceptions-boolean-) | If the property is set to true, exceptions that occur during message processing will be caught and placed in the ImapPageInfo.Items.Exceptions. |
| [setState(Object value)](#setState-java.lang.Object-) | The state. |
| [toString()](#toString--) |  |
| [wait()](#wait--) |  |
| [wait(long arg0)](#wait-long-) |  |
| [wait(long arg0, int arg1)](#wait-long-int-) |  |
### PageSettingsAsync() {#PageSettingsAsync--}
```
public PageSettingsAsync()
```


Initializes a new instance of the PageSettingsAsync class.

### equals(Object arg0) {#equals-java.lang.Object-}
```
public boolean equals(Object arg0)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | java.lang.Object |  |

**Returns:**
boolean
### getAscendingSorting() {#getAscendingSorting--}
```
public final boolean getAscendingSorting()
```


Gets or sets value which indicates if client uses ascending or descending sorting. Set true if you want to use ascending sorting, otherwise set false.

**Returns:**
boolean
### getCallback() {#getCallback--}
```
public final System.AsyncCallback getCallback()
```


References a method to be called when a corresponding asynchronous operation completes.

**Returns:**
com.aspose.ms.System.AsyncCallback
### getClass() {#getClass--}
```
public final native Class<?> getClass()
```




**Returns:**
java.lang.Class<?>
### getConnection() {#getConnection--}
```
public final IConnection getConnection()
```


Connection to a server.

**Returns:**
[IConnection](../../com.aspose.email/iconnection)
### getFolderName() {#getFolderName--}
```
public final String getFolderName()
```


The messages folder

**Returns:**
java.lang.String
### getIgnoreExceptions() {#getIgnoreExceptions--}
```
public final boolean getIgnoreExceptions()
```


If the property is set to true, exceptions that occur during message processing will be caught and placed in the ImapPageInfo.Items.Exceptions.

**Returns:**
boolean
### getState() {#getState--}
```
public final Object getState()
```


The state.

**Returns:**
java.lang.Object
### hashCode() {#hashCode--}
```
public native int hashCode()
```




**Returns:**
int
### notify() {#notify--}
```
public final native void notify()
```




### notifyAll() {#notifyAll--}
```
public final native void notifyAll()
```




### setAscendingSorting(boolean value) {#setAscendingSorting-boolean-}
```
public final void setAscendingSorting(boolean value)
```


Gets or sets value which indicates if client uses ascending or descending sorting. Set true if you want to use ascending sorting, otherwise set false.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | boolean |  |

### setCallback(System.AsyncCallback value) {#setCallback-com.aspose.ms.System.AsyncCallback-}
```
public final void setCallback(System.AsyncCallback value)
```


References a method to be called when a corresponding asynchronous operation completes.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | com.aspose.ms.System.AsyncCallback |  |

### setConnection(IConnection value) {#setConnection-com.aspose.email.IConnection-}
```
public final void setConnection(IConnection value)
```


Connection to a server.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | [IConnection](../../com.aspose.email/iconnection) |  |

### setFolderName(String value) {#setFolderName-java.lang.String-}
```
public final void setFolderName(String value)
```


The messages folder

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | java.lang.String |  |

### setIgnoreExceptions(boolean value) {#setIgnoreExceptions-boolean-}
```
public final void setIgnoreExceptions(boolean value)
```


If the property is set to true, exceptions that occur during message processing will be caught and placed in the ImapPageInfo.Items.Exceptions.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | boolean |  |

### setState(Object value) {#setState-java.lang.Object-}
```
public final void setState(Object value)
```


The state.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | java.lang.Object |  |

### toString() {#toString--}
```
public String toString()
```




**Returns:**
java.lang.String
### wait() {#wait--}
```
public final void wait()
```




### wait(long arg0) {#wait-long-}
```
public final native void wait(long arg0)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | long |  |

### wait(long arg0, int arg1) {#wait-long-int-}
```
public final void wait(long arg0, int arg1)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | long |  |
| arg1 | int |  |

