Pop |
public override bool SupportsUids { get; }
Exception | Condition |
---|---|
ObjectDisposedException | The Pop3Client has been disposed. |
ServiceNotConnectedException | The Pop3Client is not connected. |
ServiceNotAuthenticatedException | The Pop3Client is not authenticated. |
Not all servers support referencing messages by UID, so this property should be checked before using GetMessageUid(Int32, CancellationToken) and GetMessageUids(CancellationToken).
If the server does not support UIDs, then all methods that take UID arguments along with GetMessageUid(Int32, CancellationToken) and GetMessageUids(CancellationToken) will fail.