Contact - класс

Represents a contact. Properties available on contacts are defined in the ContactSchema class.

Definition

Пространство имён: Tessa.Exchange.WebServices.Data
Сборка: Tessa.Server (в Tessa.Server.dll) Версия: 4.0.4
C#
public class Contact : Item
Inheritance
Object    ServiceObject    Item    Contact

Конструкторы

Contact Initializes an unsaved local instance of Contact. To bind to an existing contact, use Contact.Bind() instead.

Свойства

Alias Gets the Alias from the directory
AllowedResponseActions Gets a value indicating which response actions are allowed on this item. Examples of response actions are Reply and Forward.
(Унаследован от Item)
ArchiveTag Gets or sets the archive tag.
(Унаследован от Item)
AssistantName Gets or sets the contact's assistant name.
Attachments Gets a list of the attachments to this item.
(Унаследован от Item)
Birthday Gets or sets the birthday of the contact.
Body Gets or sets the body of this item.
(Унаследован от Item)
BusinessHomePage Gets or sets the business home page of the contact.
Categories Gets or sets the list of categories associated with this item.
(Унаследован от Item)
Children Gets or sets a list of children for the contact.
Companies Gets or sets a list of companies for the contact.
CompanyName Gets or sets the compnay name of the contact.
CompleteName Gets the complete name of the contact.
ContactSource Gets the source of the contact.
ConversationId Gets the Id of the conversation this item is part of.
(Унаследован от Item)
Culture Gets or sets the culture associated with this item.
(Унаследован от Item)
DateTimeCreated Gets the date and time this item was created.
(Унаследован от Item)
DateTimeReceived Gets the time when this item was received.
(Унаследован от Item)
DateTimeSent Gets the date and time this item was sent.
(Унаследован от Item)
Department Gets or sets the department of the contact.
DirectoryId Gets the DirectoryID as Guid or DN string
DirectoryPhoto Gets the Photo from the directory
DirectReports Get the direct reports mailbox information
DisplayCc Gets a text summarizing the Cc receipients of this item.
(Унаследован от Item)
DisplayName Gets or sets the display name of the contact.
DisplayTo Gets a text summarizing the To recipients of this item.
(Унаследован от Item)
EffectiveRights Gets a value indicating the effective rights the current authenticated user has on this item.
(Унаследован от Item)
EmailAddresses Gets an indexed list of e-mail addresses for the contact. For example, to set the first e-mail address, use the following syntax: EmailAddresses[EmailAddressKey.EmailAddress1] = "john.doe@contoso.com"
EntityExtractionResult Gets the EntityExtractionResult of the item.
(Унаследован от Item)
ExtendedProperties Gets a list of extended properties defined on this item.
(Унаследован от Item)
FileAs Gets or set the name under which this contact is filed as. FileAs can be manually set or can be automatically calculated based on the value of the FileAsMapping property.
FileAsMapping Gets or sets a value indicating how the FileAs property should be automatically calculated.
Flag Get or set the Flag value for this item.
(Унаследован от Item)
Generation Gets or sets the generation of the contact.
GivenName Gets or sets the given name of the contact.
HasAttachments Gets a value indicating whether the item has attachments.
(Унаследован от Item)
Hashtags Gets or sets the list of hashtags associated with this item.
(Унаследован от Item)
HasPicture Gets a value indicating whether this contact has a picture associated with it.
IconIndex Gets the icon index.
(Унаследован от Item)
Id Gets the Id of this item.
(Унаследован от Item)
ImAddresses Gets an indexed list of Instant Messaging addresses for the contact. For example, to set the first IM address, use the following syntax: ImAddresses[ImAddressKey.ImAddress1] = "john.doe@contoso.com"
Importance Gets or sets the importance of this item.
(Унаследован от Item)
Initials Gets or sets the initials of the contact.
InReplyTo Gets or sets the In-Reply-To reference of this item.
(Унаследован от Item)
InstanceKey Gets the item instance key.
(Унаследован от Item)
InternetMessageHeaders Gets a list of Internet headers for this item.
(Унаследован от Item)
IsAssociated Gets a value indicating whether this is an associated item.
(Унаследован от Item)
IsAttachment Gets a value indicating whether the item is an attachment.
(Унаследован от Item)
IsDirty Gets a value indicating whether the object has been modified and should be saved.
(Унаследован от ServiceObject)
IsDraft Gets a value indicating whether the item is is a draft. An item is a draft when it has not yet been sent.
(Унаследован от Item)
IsFromMe Gets a value indicating whether the item has been sent by the current authenticated user.
(Унаследован от Item)
IsNew Gets a value indicating whether this object is a real store item, or if it's a local object that has yet to be saved.
(Унаследован от Item)
IsReminderSet Gets or sets a value indicating whether a reminder is set for this item.
(Унаследован от Item)
IsResend Gets a value indicating whether the item is a resend of another item.
(Унаследован от Item)
IsSubmitted Gets a value indicating whether the message has been submitted to be sent.
(Унаследован от Item)
IsUnmodified Gets a value indicating whether the item has been modified since it was created.
(Унаследован от Item)
Item Gets the value of specified property in this instance.
(Унаследован от ServiceObject)
ItemClass Gets or sets the custom class name of this item.
(Унаследован от Item)
JobTitle Gets or sets the contact's job title.
LastModifiedName Gets the name of the user who last modified this item.
(Унаследован от Item)
LastModifiedTime Gets the date and time this item was last modified.
(Унаследован от Item)
Manager Gets or sets the name of the contact's manager.
ManagerMailbox Gets the manager mailbox information
MentionedMe Gets a value indicating whether the item mentions me.
(Унаследован от Item)
Mentions Gets the Mentions associated with the message.
(Унаследован от Item)
MiddleName Gets or sets the initials of the contact.
Mileage Gets or sets the mileage for the contact.
MimeContent Get or sets the MIME content of this item.
(Унаследован от Item)
MimeContentUTF8 Get or sets the MimeContentUTF8 of this item.
(Унаследован от Item)
MSExchangeCertificate Gets the MSExchange certificate from the directory
NickName Gets or sets the middle name of the contact.
NormalizedBody Gets the normalized body of the item.
(Унаследован от Item)
Notes Get the Notes from the directory
OfficeLocation Gets or sets the location of the contact's office.
ParentFolderId Gets the Id of the parent folder of this item.
(Унаследован от Item)
PhoneNumbers Gets an indexed list of phone numbers for the contact. For example, to set the home phone number, use the following syntax: PhoneNumbers[PhoneNumberKey.HomePhone] = "phone number"
PhoneticFirstName Gets the phonetic first name from the directory
PhoneticFullName Gets the full phonetic name from the directory
PhoneticLastName Gets the phonetic last name from the directory
PhysicalAddresses Gets an indexed list of physical addresses for the contact. For example, to set the business address, use the following syntax: PhysicalAddresses[PhysicalAddressKey.Business] = new PhysicalAddressEntry()
PolicyTag Gets or sets the policy tag.
(Унаследован от Item)
PostalAddressIndex Gets or sets the index of the contact's postal address. When set, PostalAddressIndex refers to an entry in the PhysicalAddresses indexed list.
Preview Gets the item Preview.
(Унаследован от Item)
Profession Gets or sets the contact's profession.
ReminderDueBy Gets or sets the date and time when the reminder is due for this item.
(Унаследован от Item)
ReminderMinutesBeforeStart Gets or sets the number of minutes before the start of this item when the reminder should be triggered.
(Унаследован от Item)
RetentionDate Gets the retention date.
(Унаследован от Item)
Schema Gets the schema associated with this type of object.
(Унаследован от ServiceObject)
Sensitivity Gets or sets the sensitivity of this item.
(Унаследован от Item)
Service Gets the ExchangeService the object is bound to.
(Унаследован от ServiceObject)
Size Gets the size of this item.
(Унаследован от Item)
SpouseName Gets or sets the name of the contact's spouse.
StoreEntryId Gets the store entry id.
(Унаследован от Item)
Subject Gets or sets the subject of this item.
(Унаследован от Item)
Surname Gets or sets the surname of the contact.
TextBody Gets the text body of the item.
(Унаследован от Item)
UniqueBody Gets the body part that is unique to the conversation this item is part of.
(Унаследован от Item)
UserSMIMECertificate Gets the User SMIME certificate from the directory
WebClientEditFormQueryString Gets the query string that should be appended to the Exchange Web client URL to open this item using the appropriate edit form in a web browser.
(Унаследован от Item)
WebClientReadFormQueryString Gets the query string that should be appended to the Exchange Web client URL to open this item using the appropriate read form in a web browser.
(Унаследован от Item)
WeddingAnniversary Gets or sets the date of the contact's wedding anniversary.

Методы

Bind(ExchangeService, ItemId) Binds to an existing contact and loads its first class properties. Calling this method results in a call to EWS.
Bind(ExchangeService, ItemId, PropertySet, CancellationToken) Binds to an existing contact and loads the specified set of properties. Calling this method results in a call to EWS.
Copy(WellKnownFolderName) Creates a copy of this item in the specified folder. Calling this method results in a call to EWS.

Copy returns null if the copy operation is across two mailboxes or between a mailbox and a public folder.


(Унаследован от Item)
Copy(FolderId, CancellationToken) Creates a copy of this item in the specified folder. Calling this method results in a call to EWS.

Copy returns null if the copy operation is across two mailboxes or between a mailbox and a public folder.


(Унаследован от Item)
Delete(DeleteMode) Deletes the item. Calling this method results in a call to EWS.
(Унаследован от Item)
Delete(DeleteMode, Boolean, CancellationToken) Deletes the item. Calling this method results in a call to EWS.
(Унаследован от Item)
EqualsDetermines whether the specified object is equal to the current object.
(Унаследован от Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Унаследован от Object)
GetContactPictureAttachment Retrieves the file attachment that holds the contact's picture.
GetHashCodeServes as the default hash function.
(Унаследован от Object)
GetLoadedPropertyDefinitions Gets the collection of loaded property definitions.
(Унаследован от ServiceObject)
GetTypeGets the Type of the current instance.
(Унаследован от Object)
Load(CancellationToken) Loads the first class properties. Calling this method results in a call to EWS.
(Унаследован от ServiceObject)
Load(PropertySet, CancellationToken) Loads the specified set of properties. Calling this method results in a call to EWS.
(Унаследован от ServiceObject)
MemberwiseCloneCreates a shallow copy of the current Object.
(Унаследован от Object)
Move(WellKnownFolderName) Moves this item to a the specified folder. Calling this method results in a call to EWS.

Move returns null if the move operation is across two mailboxes or between a mailbox and a public folder.


(Унаследован от Item)
Move(FolderId, CancellationToken) Moves this item to a the specified folder. Calling this method results in a call to EWS.

Move returns null if the move operation is across two mailboxes or between a mailbox and a public folder.


(Унаследован от Item)
RemoveContactPicture Removes the contact's picture.
RemoveExtendedProperty Removes an extended property.
(Унаследован от Item)
Save(CancellationToken) Saves this item in the default folder based on the item's type (for example, an e-mail message is saved to the Drafts folder). Calling this method results in at least one call to EWS. Mutliple calls to EWS might be made if attachments have been added.
(Унаследован от Item)
Save(FolderId, CancellationToken) Saves this item in a specific folder. Calling this method results in at least one call to EWS. Mutliple calls to EWS might be made if attachments have been added.
(Унаследован от Item)
Save(WellKnownFolderName, CancellationToken) Saves this item in a specific folder. Calling this method results in at least one call to EWS. Mutliple calls to EWS might be made if attachments have been added.
(Унаследован от Item)
SetContactPicture(Byte) Sets the contact's picture using the specified byte array.
SetContactPicture(Stream) Sets the contact's picture using the specified stream.
SetContactPicture(String) Sets the contact's picture using the specified file.
SetExtendedProperty Sets the extended property.
(Унаследован от Item)
ToStringReturns a string that represents the current object.
(Унаследован от Object)
TryGetProperty(PropertyDefinitionBase, Object) Try to get the value of a specified property in this instance.
(Унаследован от ServiceObject)
TryGetPropertyT(PropertyDefinitionBase, T) Try to get the value of a specified property in this instance.
(Унаследован от ServiceObject)
Update(ConflictResolutionMode, CancellationToken) Applies the local changes that have been made to this item. Calling this method results in at least one call to EWS. Mutliple calls to EWS might be made if attachments have been added or removed.
(Унаследован от Item)
Update(ConflictResolutionMode, Boolean, CancellationToken) Applies the local changes that have been made to this item. Calling this method results in at least one call to EWS. Mutliple calls to EWS might be made if attachments have been added or removed.
(Унаследован от Item)

Методы расширения

Get
(Определяется ComHelper)
Invoke
(Определяется ComHelper)
Set
(Определяется ComHelper)

См. также