com.aspose.email

Interfaces

Classes

Enums

Exceptions

com.aspose.email

Class ExchangeAdvancedSyntaxMailQuery



  • public class ExchangeAdvancedSyntaxMailQuery
    extends MailQuery

    Represents the search criteria, that are used to match several message properties in the mailbox. Implements an Advanced Query Syntax (AQS) search that is used by EWS. AQS described at https://docs.microsoft.com/exchange/client-developer/exchange-web-services/how-to-perform-an-aqs-search-by-using-ews-in-exchange.

    See Also:
    MailQuery
    • Constructor Detail

      • ExchangeAdvancedSyntaxMailQuery

        public ExchangeAdvancedSyntaxMailQuery(String advancedSyntaxQueryString)

        Initializes a new instance of the ExchangeAdvancedSyntaxMailQuery class.

        Parameters:
        advancedSyntaxQueryString - The advanced syntax query string.
    • Method Detail

      • toString

        public String toString()

        Returns a String that represents this instance.

        Overrides:
        toString in class MailQuery
        Returns:
        A query string that represents this instance.
      • readXml

        public void readXml(com.aspose.ms.System.Xml.XmlReader reader)

        Generates an object from its XML representation. Not implemented for the ExchangeAdvancedMailQuery class.

        Parameters:
        reader - The XmlReader stream from which the object is deserialized.
        Throws:
        com.aspose.ms.System.NotImplementedException - Throws when this method is invoked. This method is not implemented for ExchangeAdvancedMailQuery class.
      • writeXml

        public void writeXml(com.aspose.ms.System.Xml.XmlWriter writer)

        Converts an object into its XML representation. Not implemented for the ExchangeAdvancedMailQuery class.

        Parameters:
        writer - The XmlWriter stream to which the object is serialized.