コード例 #1
0
 /// <summary>
 /// Binds to an existing contacts folder and loads its first class properties.
 /// </summary>
 /// <param name="service">The service to use to bind to the contacts folder.</param>
 /// <param name="id">The Id of the contacts folder to bind to.</param>
 /// <returns>A ContactsFolder instance representing the contacts folder corresponding to the specified Id.</returns>
 public static new Task <ContactsFolder> Bind(ExchangeService service, FolderId id)
 {
     return(ContactsFolder.Bind(
                service,
                id,
                PropertySet.FirstClassProperties));
 }
コード例 #2
0
 /// <summary>
 /// Binds to an existing contacts folder and loads its first class properties.
 /// </summary>
 /// <param name="service">The service to use to bind to the contacts folder.</param>
 /// <param name="name">The name of the contacts folder to bind to.</param>
 /// <returns>A ContactsFolder instance representing the contacts folder with the specified name.</returns>
 public static new Task <ContactsFolder> Bind(ExchangeService service, WellKnownFolderName name)
 {
     return(ContactsFolder.Bind(
                service,
                new FolderId(name),
                PropertySet.FirstClassProperties));
 }
コード例 #3
0
 /// <summary>
 /// Binds to an existing contacts folder and loads its first class properties.
 /// </summary>
 /// <param name="service">The service to use to bind to the contacts folder.</param>
 /// <param name="id">The Id of the contacts folder to bind to.</param>
 /// <returns>A ContactsFolder instance representing the contacts folder corresponding to the specified Id.</returns>
 public static new Task <ContactsFolder> Bind(ExchangeService service, FolderId id, CancellationToken token = default(CancellationToken))
 {
     return(ContactsFolder.Bind(
                service,
                id,
                PropertySet.FirstClassProperties,
                token));
 }
コード例 #4
0
 /// <summary>
 /// Binds to an existing contacts folder and loads its first class properties.
 /// </summary>
 /// <param name="service">The service to use to bind to the contacts folder.</param>
 /// <param name="name">The name of the contacts folder to bind to.</param>
 /// <returns>A ContactsFolder instance representing the contacts folder with the specified name.</returns>
 public static new Task <ContactsFolder> Bind(ExchangeService service, WellKnownFolderName name, CancellationToken token = default(CancellationToken))
 {
     return(ContactsFolder.Bind(
                service,
                new FolderId(name),
                PropertySet.FirstClassProperties,
                token));
 }
コード例 #5
0
 /// <summary>
 /// Binds to an existing contacts folder and loads the specified set of properties.
 /// </summary>
 /// <param name="service">The service to use to bind to the contacts folder.</param>
 /// <param name="name">The name of the contacts folder to bind to.</param>
 /// <param name="propertySet">The set of properties to load.</param>
 /// <returns>A ContactsFolder instance representing the contacts folder with the specified name.</returns>
 public static new Task <ContactsFolder> Bind(
     ExchangeService service,
     WellKnownFolderName name,
     PropertySet propertySet)
 {
     return(ContactsFolder.Bind(
                service,
                new FolderId(name),
                propertySet));
 }