public class GroupMember extends ComplexProperty implements IComplexPropertyChangedDelegate
Modifier | Constructor and Description |
---|---|
|
GroupMember()
Initializes a new instance of the GroupMember class.
|
|
GroupMember(Contact contact,
EmailAddressKey emailAddressKey)
Initializes a new instance of the GroupMember class.
|
|
GroupMember(EmailAddress addressInformation)
Initializes a new instance of the GroupMember class.
|
protected |
GroupMember(GroupMember member)
Initializes a new instance of the GroupMember class.
|
|
GroupMember(ItemId contactGroupId)
Initializes a new instance of the GroupMember class.
|
|
GroupMember(ItemId contactId,
String addressToLink)
Initializes a new instance of the GroupMember class.
|
|
GroupMember(String smtpAddress)
Initializes a new instance of the GroupMember class.
|
|
GroupMember(String smtpAddress,
MailboxType mailboxType)
Initializes a new instance of the GroupMember class.
|
|
GroupMember(String name,
String smtpAddress)
Initializes a new instance of the GroupMember class.
|
|
GroupMember(String address,
String routingType,
MailboxType mailboxType)
Initializes a new instance of the GroupMember class.
|
|
GroupMember(String name,
String address,
String routingType)
Initializes a new instance of the GroupMember class.
|
Modifier and Type | Method and Description |
---|---|
void |
complexPropertyChanged(ComplexProperty complexProperty)
Complex property changed.
|
EmailAddress |
getAddressInformation()
Gets the address information of the member.
|
String |
getKey()
Gets the key of the member.
|
MemberStatus |
getStatus()
Gets the status of the member.
|
void |
readAttributesFromXml(EwsServiceXmlReader reader)
Reads the member Key attribute from XML.
|
protected void |
setAddressInformation(EmailAddress value)
Sets the address information.
|
boolean |
tryReadElementFromXml(EwsServiceXmlReader reader)
Tries to read Status or Mailbox elements from XML.
|
void |
writeAttributesToXml(EwsServiceXmlWriter writer)
Writes the member key attribute to XML.
|
void |
writeElementsToXml(EwsServiceXmlWriter writer)
Writes elements to XML.
|
addOnChangeEvent, canSetFieldValue, changed, clearChangeEvents, clearChangeLog, func, getNamespace, internalValidate, loadFromXml, loadFromXml, readTextValueFromXml, removeChangeEvent, setNamespace, tryReadElementFromXmlToPatch, updateFromXml, updateFromXml, validate, writeToXml, writeToXml
public GroupMember()
public GroupMember(String smtpAddress)
smtpAddress
- The SMTP address of the memberpublic GroupMember(String address, String routingType, MailboxType mailboxType) throws ServiceLocalException
address
- the addressroutingType
- The routing type of the address.mailboxType
- The mailbox type of the member.ServiceLocalException
- the service local exceptionpublic GroupMember(String smtpAddress, MailboxType mailboxType) throws ServiceLocalException
smtpAddress
- The SMTP address of the membermailboxType
- The mailbox type of the member.ServiceLocalException
- the service local exceptionpublic GroupMember(String name, String address, String routingType)
name
- The name of the one-off member.address
- the addressroutingType
- The routing type of the address.public GroupMember(String name, String smtpAddress)
name
- The name of the one-off member.smtpAddress
- The SMTP address of the memberpublic GroupMember(ItemId contactGroupId)
contactGroupId
- The Id of the contact group to link the member to.public GroupMember(ItemId contactId, String addressToLink)
contactId
- The Id of the contact memberaddressToLink
- The Id of the contact to link the member to.public GroupMember(EmailAddress addressInformation) throws Exception
addressInformation
- The e-mail address of the member.Exception
- the exceptionprotected GroupMember(GroupMember member) throws Exception
member
- GroupMember class instance to copy.Exception
- the exceptionpublic GroupMember(Contact contact, EmailAddressKey emailAddressKey) throws Exception
contact
- The contact to link to.emailAddressKey
- The contact's e-mail address to link to.Exception
- the exceptionpublic EmailAddress getAddressInformation()
protected void setAddressInformation(EmailAddress value)
value
- the new address informationpublic MemberStatus getStatus()
public void readAttributesFromXml(EwsServiceXmlReader reader) throws Exception
readAttributesFromXml
in class ComplexProperty
reader
- the readerException
- the exceptionpublic boolean tryReadElementFromXml(EwsServiceXmlReader reader) throws Exception
tryReadElementFromXml
in class ComplexProperty
reader
- the readerException
- the exceptionpublic void writeAttributesToXml(EwsServiceXmlWriter writer) throws ServiceXmlSerializationException
writeAttributesToXml
in class ComplexProperty
writer
- the writerServiceXmlSerializationException
- the service xml serialization exceptionpublic void writeElementsToXml(EwsServiceXmlWriter writer) throws Exception
writeElementsToXml
in class ComplexProperty
writer
- the writerException
- the exceptionpublic void complexPropertyChanged(ComplexProperty complexProperty)
complexPropertyChanged
in interface IComplexPropertyChangedDelegate
complexProperty
- accepts ComplexPropertyCopyright © 2012–2015 Microsoft. All rights reserved.