Imap.ReadResponseAsync Method
Namespace: Rebex.Net
Assembly: Rebex.Imap.dll (version 7.0.9119)
ReadResponseAsync(Object)
Begins asynchronous ReadResponse operation. Returns the response of the IMAP server to the command.
Declaration
public Task<ImapResponse> ReadResponseAsync(object state = null)
Parameters
Type | Name | Description |
---|---|---|
Object | state | An optional user-provided object that identifies this particular asynchronous operation. |
Returns
Type | Description |
---|---|
Task<ImapResponse> | Response of the IMAP server. |
Remarks
Use ReadResponse and SendCommand to implement various custom commands.
After a successful call to ReadResponse, the Imap object will be in Reading state.