BindWithWellKnownFolderAndPropertySet static method

Future<TasksFolder> BindWithWellKnownFolderAndPropertySet(
  1. ExchangeService service,
  2. WellKnownFolderName name,
  3. PropertySet propertySet
)
Binds to an existing tasks folder and loads the specified set of properties. Calling this method results in a call to EWS. The service to use to bind to the tasks folder. The name of the tasks folder to bind to. The set of properties to load.

Implementation

static Future<TasksFolder> BindWithWellKnownFolderAndPropertySet(
    ExchangeService service,
    WellKnownFolderName name,
    PropertySet propertySet) {
  return TasksFolder.BindWithFolderIdAndPropertySet(
      service, new FolderId.fromWellKnownFolder(name), propertySet);
}