本文整理汇总了Java中microsoft.exchange.webservices.data.core.ExchangeService.bindToFolder方法的典型用法代码示例。如果您正苦于以下问题:Java ExchangeService.bindToFolder方法的具体用法?Java ExchangeService.bindToFolder怎么用?Java ExchangeService.bindToFolder使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类microsoft.exchange.webservices.data.core.ExchangeService
的用法示例。
在下文中一共展示了ExchangeService.bindToFolder方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: bind
import microsoft.exchange.webservices.data.core.ExchangeService; //导入方法依赖的package包/类
/**
* Binds to an existing folder, whatever its actual type is, and loads the
* specified set of property. Calling this method results in a call to
* EWS.
*
* @param service The service to use to bind to the folder.
* @param id The Id of the folder to bind to.
* @param propertySet The set of property to load.
* @return A Folder instance representing the folder corresponding to the
* specified Id.
* @throws Exception the exception
*/
public static Folder bind(ExchangeService service, FolderId id,
PropertySet propertySet) throws Exception {
return service.bindToFolder(Folder.class, id, propertySet);
}
示例2: bind
import microsoft.exchange.webservices.data.core.ExchangeService; //导入方法依赖的package包/类
/**
* Binds to an existing search folder and loads the specified set of
* property. Calling this method results in a call to EWS.
*
* @param service the service
* @param id the id
* @param propertySet the property set
* @return A SearchFolder instance representing the search folder
* corresponding to the specified Id.
* @throws Exception the exception
*/
public static SearchFolder bind(ExchangeService service, FolderId id,
PropertySet propertySet) throws Exception {
return service.bindToFolder(SearchFolder.class, id, propertySet);
}
示例3: bind
import microsoft.exchange.webservices.data.core.ExchangeService; //导入方法依赖的package包/类
/**
* Binds to an existing calendar folder and loads the specified set of
* property. Calling this method results in a call to EWS.
*
* @param service the service
* @param id the id
* @param propertySet the property set
* @return A CalendarFolder instance representing the calendar folder
* corresponding to the specified Id
* @throws Exception the exception
*/
public static CalendarFolder bind(ExchangeService service, FolderId id,
PropertySet propertySet) throws Exception {
return service.bindToFolder(CalendarFolder.class, id, propertySet);
}
示例4: bind
import microsoft.exchange.webservices.data.core.ExchangeService; //导入方法依赖的package包/类
/**
* Binds to an existing tasks folder and loads the specified set of
* property. Calling this method results in a call to EWS.
*
* @param service the service
* @param id the id
* @param propertySet the property set
* @return A TasksFolder instance representing the task folder corresponding
* to the specified Id.
* @throws Exception the exception
*/
public static TasksFolder bind(ExchangeService service, FolderId id,
PropertySet propertySet) throws Exception {
return service.bindToFolder(TasksFolder.class, id, propertySet);
}
示例5: bind
import microsoft.exchange.webservices.data.core.ExchangeService; //导入方法依赖的package包/类
/**
* Binds to an existing contacts folder and loads the specified set of
* property.
*
* @param service the service
* @param id the id
* @param propertySet the property set
* @return A ContactsFolder instance representing the contacts folder
* corresponding to the specified Id.
* @throws Exception the exception
*/
public static ContactsFolder bind(ExchangeService service, FolderId id,
PropertySet propertySet) throws Exception {
return service.bindToFolder(ContactsFolder.class, id, propertySet);
}