Task - класс

Represents a Task item. Properties available on tasks are defined in the TaskSchema class.

Definition

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

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

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

Свойства

ActualWork Gets or sets the actual amount of time that is spent on the task.
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)
AssignedTime Gets the date and time the task was assigned.
Attachments Gets a list of the attachments to this item.
(Унаследован от Item)
BillingInformation Gets or sets the billing information of the task.
Body Gets or sets the body of this item.
(Унаследован от Item)
Categories Gets or sets the list of categories associated with this item.
(Унаследован от Item)
ChangeCount Gets the number of times the task has changed since it was created.
Companies Gets or sets a list of companies associated with the task.
CompleteDate Gets or sets the date and time on which the task was completed.
Contacts Gets or sets a list of contacts associated with the task.
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)
DelegationState Gets the current delegation state of the task.
Delegator Gets the name of the delegator of this task.
DisplayCc Gets a text summarizing the Cc receipients of this item.
(Унаследован от Item)
DisplayTo Gets a text summarizing the To recipients of this item.
(Унаследован от Item)
DueDate Gets or sets the date and time on which the task is due.
EffectiveRights Gets a value indicating the effective rights the current authenticated user has on this item.
(Унаследован от Item)
EntityExtractionResult Gets the EntityExtractionResult of the item.
(Унаследован от Item)
ExtendedProperties Gets a list of extended properties defined on this item.
(Унаследован от Item)
Flag Get or set the Flag value for this item.
(Унаследован от Item)
HasAttachments Gets a value indicating whether the item has attachments.
(Унаследован от Item)
Hashtags Gets or sets the list of hashtags associated with this item.
(Унаследован от Item)
IconIndex Gets the icon index.
(Унаследован от Item)
Id Gets the Id of this item.
(Унаследован от Item)
Importance Gets or sets the importance of this item.
(Унаследован от Item)
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)
IsComplete Gets a value indicating whether the task is complete.
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)
IsRecurring Gets a value indicating whether the task is recurring.
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)
IsTeamTask Gets a value indicating whether the task is a team task.
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)
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)
MentionedMe Gets a value indicating whether the item mentions me.
(Унаследован от Item)
Mentions Gets the Mentions associated with the message.
(Унаследован от Item)
Mileage Gets or sets the mileage of the task.
MimeContent Get or sets the MIME content of this item.
(Унаследован от Item)
MimeContentUTF8 Get or sets the MimeContentUTF8 of this item.
(Унаследован от Item)
Mode Gets a value indicating the mode of the task.
NormalizedBody Gets the normalized body of the item.
(Унаследован от Item)
Owner Gets the name of the owner of the task.
ParentFolderId Gets the Id of the parent folder of this item.
(Унаследован от Item)
PercentComplete Gets or sets the completeion percentage of the task. PercentComplete must be between 0 and 100.
PolicyTag Gets or sets the policy tag.
(Унаследован от Item)
Preview Gets the item Preview.
(Унаследован от Item)
Recurrence Gets or sets the recurrence pattern for this task. Available recurrence pattern classes include Recurrence.DailyPattern, Recurrence.MonthlyPattern and Recurrence.YearlyPattern.
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)
StartDate Gets or sets the date and time on which the task starts.
Status Gets or sets the status of the task.
StatusDescription Gets a string representing the status of the task, localized according to the PreferredCulture property of the ExchangeService object the task is bound to.
StoreEntryId Gets the store entry id.
(Унаследован от Item)
Subject Gets or sets the subject of this item.
(Унаследован от Item)
TextBody Gets the text body of the item.
(Унаследован от Item)
TotalWork Gets or sets the total amount of work spent on the task.
UniqueBody Gets the body part that is unique to the conversation this item is part of.
(Унаследован от Item)
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)

Методы

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, CancellationToken) Binds to an existing task 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)
DeleteCurrentOccurrence Deletes the current occurrence of a recurring task. After the current occurrence isdeleted, the task represents the next occurrence. Developers should call Load to retrieve the new property values of the task. Calling this method results in a call to EWS.
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)
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)
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)
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 task. 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.
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)

См. также