EmailMessage.Bind EmailMessage.Bind EmailMessage.Bind Method

Definition

Overloads

Bind(ExchangeService, ItemId) Bind(ExchangeService, ItemId) Bind(ExchangeService, ItemId)

Binds to an existing e-mail message and loads its first class properties.

Bind(ExchangeService, ItemId, PropertySet) Bind(ExchangeService, ItemId, PropertySet)

Binds to an existing e-mail message and loads the specified set of properties.

Bind(ExchangeService, ItemId) Bind(ExchangeService, ItemId) Bind(ExchangeService, ItemId)

Binds to an existing e-mail message and loads its first class properties.

public:
 static Microsoft::Exchange::WebServices::Data::EmailMessage ^ Bind(Microsoft::Exchange::WebServices::Data::ExchangeService ^ service, Microsoft::Exchange::WebServices::Data::ItemId ^ id);
public static Microsoft.Exchange.WebServices.Data.EmailMessage Bind (Microsoft.Exchange.WebServices.Data.ExchangeService service, Microsoft.Exchange.WebServices.Data.ItemId id);
Public Shared Function Bind (service As ExchangeService, id As ItemId) As EmailMessage

Parameters

service
ExchangeService ExchangeService ExchangeService

The service to use to bind to the e-mail message.

id
ItemId ItemId ItemId

The identifier of the e-mail message to bind to.

Returns

Remarks

Calling this method results in a call to Exchange Web Services (EWS).

Bind(ExchangeService, ItemId, PropertySet) Bind(ExchangeService, ItemId, PropertySet)

Binds to an existing e-mail message and loads the specified set of properties.

public:
 static Microsoft::Exchange::WebServices::Data::EmailMessage ^ 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.EmailMessage Bind (Microsoft.Exchange.WebServices.Data.ExchangeService service, Microsoft.Exchange.WebServices.Data.ItemId id, Microsoft.Exchange.WebServices.Data.PropertySet propertySet);

Parameters

service
ExchangeService ExchangeService ExchangeService

The identifier of the e-mail message to bind to.

id
ItemId ItemId ItemId

The service to use to bind to the e-mail message.

propertySet
PropertySet PropertySet PropertySet

The set of properties to load.

Returns

Remarks

Calling this method results in a call to Exchange Web services (EWS).

Applies to