Class TasksFolder
- Namespace
- Microsoft.Exchange.WebServices.Data
- Assembly
- Microsoft.Exchange.WebServices.dll
Represents a folder containing task items.
public class TasksFolder : Folder
- Inheritance
-
TasksFolder
- Inherited Members
Constructors
TasksFolder(ExchangeService)
Initializes an unsaved local instance of TasksFolder. To bind to an existing tasks folder, use TasksFolder.Bind() instead.
public TasksFolder(ExchangeService service)
Parameters
serviceExchangeServiceThe ExchangeService object to which the tasks folder will be bound.
Methods
Bind(ExchangeService, FolderId)
Binds to an existing tasks folder and loads its first class properties. Calling this method results in a call to EWS.
public static TasksFolder Bind(ExchangeService service, FolderId id)
Parameters
serviceExchangeServiceThe service to use to bind to the tasks folder.
idFolderIdThe Id of the tasks folder to bind to.
Returns
- TasksFolder
A TasksFolder instance representing the task folder corresponding to the specified Id.
Bind(ExchangeService, FolderId, PropertySet)
Binds to an existing tasks folder and loads the specified set of properties. Calling this method results in a call to EWS.
public static TasksFolder Bind(ExchangeService service, FolderId id, PropertySet propertySet)
Parameters
serviceExchangeServiceThe service to use to bind to the tasks folder.
idFolderIdThe Id of the tasks folder to bind to.
propertySetPropertySetThe set of properties to load.
Returns
- TasksFolder
A TasksFolder instance representing the task folder corresponding to the specified Id.
Bind(ExchangeService, WellKnownFolderName)
Binds to an existing tasks folder and loads its first class properties. Calling this method results in a call to EWS.
public static TasksFolder Bind(ExchangeService service, WellKnownFolderName name)
Parameters
serviceExchangeServiceThe service to use to bind to the tasks folder.
nameWellKnownFolderNameThe name of the tasks folder to bind to.
Returns
- TasksFolder
A TasksFolder instance representing the tasks folder with the specified name.
Bind(ExchangeService, WellKnownFolderName, PropertySet)
Binds to an existing tasks folder and loads the specified set of properties. Calling this method results in a call to EWS.
public static TasksFolder Bind(ExchangeService service, WellKnownFolderName name, PropertySet propertySet)
Parameters
serviceExchangeServiceThe service to use to bind to the tasks folder.
nameWellKnownFolderNameThe name of the tasks folder to bind to.
propertySetPropertySetThe set of properties to load.
Returns
- TasksFolder
A TasksFolder instance representing the tasks folder with the specified name.