Class TasksFolder

    • Method Detail

      • bind

        public static TasksFolder bind​(ExchangeService service,
                                       FolderId id,
                                       PropertySet propertySet)
                                throws Exception
        Binds to an existing tasks folder and loads the specified set of property. Calling this method results in a call to EWS.
        Parameters:
        service - the service
        id - the id
        propertySet - the property set
        Returns:
        A TasksFolder instance representing the task folder corresponding to the specified Id.
        Throws:
        Exception - the exception
      • bind

        public static TasksFolder bind​(ExchangeService service,
                                       FolderId id)
                                throws Exception
        Binds to an existing tasks folder and loads its first class property. Calling this method results in a call to EWS.
        Parameters:
        service - the service
        id - the id
        Returns:
        A TasksFolder instance representing the task folder corresponding to the specified Id.
        Throws:
        Exception - the exception
      • bind

        public static TasksFolder bind​(ExchangeService service,
                                       WellKnownFolderName name,
                                       PropertySet propertySet)
                                throws Exception
        Binds to an existing tasks folder and loads specified set of property. Calling this method results in a call to EWS.
        Parameters:
        service - the service
        name - the name
        propertySet - the property set
        Returns:
        A TasksFolder instance representing the tasks folder with the specified name.
        Throws:
        Exception - the exception
      • bind

        public static TasksFolder bind​(ExchangeService service,
                                       WellKnownFolderName name)
                                throws Exception
        Binds to an existing tasks folder and loads its first class property. Calling this method results in a call to EWS.
        Parameters:
        service - the service
        name - the name
        Returns:
        A TasksFolder instance representing the tasks folder with the specified name.
        Throws:
        Exception - the exception