/// <summary>
 /// Binds to an existing tasks folder and loads its first class properties.
 /// Calling this method results in a call to EWS.
 /// </summary>
 /// <param name="service">The service to use to bind to the tasks folder.</param>
 /// <param name="id">The Id of the tasks folder to bind to.</param>
 /// <returns>A TasksFolder instance representing the task folder corresponding to the specified Id.</returns>
 public static new Task <TasksFolder> Bind(ExchangeService service, FolderId id)
 {
     return(TasksFolder.Bind(
                service,
                id,
                PropertySet.FirstClassProperties));
 }
 /// <summary>
 /// Binds to an existing tasks folder and loads its first class properties.
 /// Calling this method results in a call to EWS.
 /// </summary>
 /// <param name="service">The service to use to bind to the tasks folder.</param>
 /// <param name="name">The name of the tasks folder to bind to.</param>
 /// <returns>A TasksFolder instance representing the tasks folder with the specified name.</returns>
 public static new Task <TasksFolder> Bind(ExchangeService service, WellKnownFolderName name)
 {
     return(TasksFolder.Bind(
                service,
                new FolderId(name),
                PropertySet.FirstClassProperties));
 }
Beispiel #3
0
 /// <summary>
 /// Binds to an existing tasks folder and loads its first class properties.
 /// Calling this method results in a call to EWS.
 /// </summary>
 /// <param name="service">The service to use to bind to the tasks folder.</param>
 /// <param name="id">The Id of the tasks folder to bind to.</param>
 /// <returns>A TasksFolder instance representing the task folder corresponding to the specified Id.</returns>
 public static new Task <TasksFolder> Bind(ExchangeService service, FolderId id, CancellationToken token = default(CancellationToken))
 {
     return(TasksFolder.Bind(
                service,
                id,
                PropertySet.FirstClassProperties,
                token));
 }
Beispiel #4
0
 /// <summary>
 /// Binds to an existing tasks folder and loads its first class properties.
 /// Calling this method results in a call to EWS.
 /// </summary>
 /// <param name="service">The service to use to bind to the tasks folder.</param>
 /// <param name="name">The name of the tasks folder to bind to.</param>
 /// <returns>A TasksFolder instance representing the tasks folder with the specified name.</returns>
 public static new Task <TasksFolder> Bind(ExchangeService service, WellKnownFolderName name, CancellationToken token = default(CancellationToken))
 {
     return(TasksFolder.Bind(
                service,
                new FolderId(name),
                PropertySet.FirstClassProperties,
                token));
 }
 /// <summary>
 /// Binds to an existing tasks folder and loads the specified set of properties.
 /// Calling this method results in a call to EWS.
 /// </summary>
 /// <param name="service">The service to use to bind to the tasks folder.</param>
 /// <param name="name">The name of the tasks folder to bind to.</param>
 /// <param name="propertySet">The set of properties to load.</param>
 /// <returns>A TasksFolder instance representing the tasks folder with the specified name.</returns>
 public static new Task <TasksFolder> Bind(
     ExchangeService service,
     WellKnownFolderName name,
     PropertySet propertySet)
 {
     return(TasksFolder.Bind(
                service,
                new FolderId(name),
                propertySet));
 }