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
service
ExchangeServiceThe 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
service
ExchangeServiceThe service to use to bind to the tasks folder.
id
FolderIdThe 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
service
ExchangeServiceThe service to use to bind to the tasks folder.
id
FolderIdThe Id of the tasks folder to bind to.
propertySet
PropertySetThe 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
service
ExchangeServiceThe service to use to bind to the tasks folder.
name
WellKnownFolderNameThe 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
service
ExchangeServiceThe service to use to bind to the tasks folder.
name
WellKnownFolderNameThe name of the tasks folder to bind to.
propertySet
PropertySetThe set of properties to load.
Returns
- TasksFolder
A TasksFolder instance representing the tasks folder with the specified name.