| ImapIdleAsync Method (TimeSpan) |
Sends IDLE command.
This method hangs until server announces new event in current folder or until
StopIdle command is issued.
Not all servers support
Idle. You can check which extensions remote server supports using
SupportedExtensions method.
Namespace:
Limilabs.Client.IMAP
Assembly:
Mail (in Mail.dll) Version: 3.0.23341.1754
Syntax public Task<FolderStatus> IdleAsync(
TimeSpan timeout
)
Public Function IdleAsync (
timeout As TimeSpan
) As Task(Of FolderStatus)
public:
Task<FolderStatus^>^ IdleAsync(
TimeSpan timeout
)
member IdleAsync :
timeout : TimeSpan -> Task<FolderStatus>
Parameters
- timeout
- Type: SystemTimeSpan
Specifies the timeout after which IDLE command is reissued (this prevents server from disconnecting).
Return Value
Type:
TaskFolderStatusNew folder status.
See Also