Task.Bind Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Bind(ExchangeService, ItemId) |
Binds to an existing task and loads its first class properties. Calling this method results in a call to EWS. |
Bind(ExchangeService, ItemId, PropertySet) |
Binds to an existing task and loads the specified set of properties. Calling this method results in a call to EWS. |
Bind(ExchangeService, ItemId)
Binds to an existing task and loads its first class properties. Calling this method results in a call to EWS.
public:
static Microsoft::Exchange::WebServices::Data::Task ^ Bind(Microsoft::Exchange::WebServices::Data::ExchangeService ^ service, Microsoft::Exchange::WebServices::Data::ItemId ^ id);
public static Microsoft.Exchange.WebServices.Data.Task Bind (Microsoft.Exchange.WebServices.Data.ExchangeService service, Microsoft.Exchange.WebServices.Data.ItemId id);
Public Shared Function Bind (service As ExchangeService, id As ItemId) As Task
Parameters
- service
- ExchangeService
The service to use to bind to the task.
- id
- ItemId
The Id of the task to bind to.
Returns
A Task instance representing the task corresponding to the specified Id.
Applies to
Bind(ExchangeService, ItemId, PropertySet)
Binds to an existing task and loads the specified set of properties. Calling this method results in a call to EWS.
public:
static Microsoft::Exchange::WebServices::Data::Task ^ Bind(Microsoft::Exchange::WebServices::Data::ExchangeService ^ service, Microsoft::Exchange::WebServices::Data::ItemId ^ id, Microsoft::Exchange::WebServices::Data::PropertySet ^ propertySet);
public static Microsoft.Exchange.WebServices.Data.Task Bind (Microsoft.Exchange.WebServices.Data.ExchangeService service, Microsoft.Exchange.WebServices.Data.ItemId id, Microsoft.Exchange.WebServices.Data.PropertySet propertySet);
Parameters
- service
- ExchangeService
The service to use to bind to the task.
- id
- ItemId
The Id of the task to bind to.
- propertySet
- PropertySet
The set of properties to load.
Returns
A Task instance representing the task corresponding to the specified Id.