From 04128376eab6a01b2f774525dba7a5fd3285fab9 Mon Sep 17 00:00:00 2001 From: Richard Perry Date: Thu, 6 Nov 2014 15:53:07 +0000 Subject: [PATCH 1/4] Add Support form Export Items and Upload Items --- Core/ExchangeService.cs | 17 + Core/Requests/ExportItemsRequest.cs | 67 + Core/Requests/UploadItemsRequest.cs | 79 + Core/Responses/ExportItemsResponse.cs | 53 + Core/Responses/UploadItemsResponse.cs | 29 + Core/ServiceObjects/Items/UploadItem.cs | 57 + .../Schemas/ServiceObjectSchema.cs | 1 + Core/ServiceObjects/Schemas/UploadSchema.cs | 53 + Core/XmlElementNames.cs | 14 + Enumerations/CreateAction.cs | 13 + Enumerations/WellKnownFolderName.cs | 15 +- Microsoft.Exchange.WebServices.Data.csproj | 12 + Properties/Resources.Designer.cs | 1800 +++++++++++++++++ Properties/Resources.resx | 680 +++++++ 14 files changed, 2889 insertions(+), 1 deletion(-) create mode 100644 Core/Requests/ExportItemsRequest.cs create mode 100644 Core/Requests/UploadItemsRequest.cs create mode 100644 Core/Responses/ExportItemsResponse.cs create mode 100644 Core/Responses/UploadItemsResponse.cs create mode 100644 Core/ServiceObjects/Items/UploadItem.cs create mode 100644 Core/ServiceObjects/Schemas/UploadSchema.cs create mode 100644 Enumerations/CreateAction.cs create mode 100644 Properties/Resources.Designer.cs create mode 100644 Properties/Resources.resx diff --git a/Core/ExchangeService.cs b/Core/ExchangeService.cs index 2f5ff9a3..3d4c861d 100644 --- a/Core/ExchangeService.cs +++ b/Core/ExchangeService.cs @@ -1530,6 +1530,14 @@ public ServiceResponseCollection MarkAsJunk(IEnumerable ExportItems(IEnumerable itemIds) + { + ExportItemsRequest request = new ExportItemsRequest(this, ServiceErrorHandling.ReturnErrors); + request.ItemIds.AddRange(itemIds); + return request.Execute(); + } + + #endregion #region People operations @@ -5840,5 +5848,14 @@ internal string TargetServerVersion } #endregion + + public UploadItemsResponse UploadItem(UploadItem item) + { + UploadItemsRequest request = new UploadItemsRequest(this, ServiceErrorHandling.ReturnErrors); + + request.Items = new UploadItem[] { item }; + + return request.Execute()[0]; + } } } \ No newline at end of file diff --git a/Core/Requests/ExportItemsRequest.cs b/Core/Requests/ExportItemsRequest.cs new file mode 100644 index 00000000..ce5be3d5 --- /dev/null +++ b/Core/Requests/ExportItemsRequest.cs @@ -0,0 +1,67 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; + +namespace Microsoft.Exchange.WebServices.Data +{ + internal class ExportItemsRequest: MultiResponseServiceRequest, IJsonSerializable + { + private ItemIdWrapperList itemIds = new ItemIdWrapperList(); + + internal ExportItemsRequest(ExchangeService exchangeService, ServiceErrorHandling serviceErrorHandling) : base(exchangeService, serviceErrorHandling) + { + + } + + internal override ExportItemsResponse CreateServiceResponse(ExchangeService service, int responseIndex) + { + return new ExportItemsResponse(); + } + + internal override string GetResponseMessageXmlElementName() + { + return XmlElementNames.ExportItemsResponseMessage; + } + + internal override int GetExpectedResponseMessageCount() + { + return itemIds.Count; + } + + internal override string GetXmlElementName() + { + return XmlElementNames.ExportItems; + } + + internal override string GetResponseXmlElementName() + { + return XmlElementNames.ExportItemsResponse; + } + + internal override ExchangeVersion GetMinimumRequiredServerVersion() + { + return ExchangeVersion.Exchange2013; + } + + internal override void WriteElementsToXml(EwsServiceXmlWriter writer) + { + base.WriteAttributesToXml(writer); + itemIds.WriteToXml(writer, XmlNamespace.Messages, XmlElementNames.ItemIds); + } + + public ItemIdWrapperList ItemIds + { + get { return this.itemIds; } + } + + public object ToJson(ExchangeService service) + { + JsonObject request = new JsonObject(); + + request.Add(XmlElementNames.ItemIds, this.itemIds.InternalToJson(service)); + + return request; + } + } +} diff --git a/Core/Requests/UploadItemsRequest.cs b/Core/Requests/UploadItemsRequest.cs new file mode 100644 index 00000000..ba7e0c81 --- /dev/null +++ b/Core/Requests/UploadItemsRequest.cs @@ -0,0 +1,79 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; + +namespace Microsoft.Exchange.WebServices.Data +{ + internal class UploadItemsRequest : MultiResponseServiceRequest + { + IEnumerable uploadItems; + + internal UploadItemsRequest(ExchangeService service, ServiceErrorHandling errorHandling) : base(service, errorHandling) + { + + } + + internal override UploadItemsResponse CreateServiceResponse(ExchangeService service, int responseIndex) + { + return new UploadItemsResponse(); + } + + internal override string GetResponseMessageXmlElementName() + { + return XmlElementNames.UploadItemsResponseMessage; + } + + internal override int GetExpectedResponseMessageCount() + { + return EwsUtilities.GetEnumeratedObjectCount(this.uploadItems); + } + + internal override string GetXmlElementName() + { + return XmlElementNames.UploadItems; + } + + internal override string GetResponseXmlElementName() + { + return XmlElementNames.UploadItemsResponse; + } + + internal override ExchangeVersion GetMinimumRequiredServerVersion() + { + return ExchangeVersion.Exchange2010; + } + + internal override void WriteElementsToXml(EwsServiceXmlWriter writer) + { + writer.WriteStartElement(XmlNamespace.Messages, XmlElementNames.Items); + + foreach(UploadItem uploadItem in uploadItems) + { + writer.WriteStartElement(XmlNamespace.Types, XmlElementNames.Item); + writer.WriteAttributeString("CreateAction", uploadItem.CreateAction.ToString()); + + uploadItem.ParentFolderId.WriteToXml(writer, XmlNamespace.Types, XmlElementNames.ParentFolderId); + + if(uploadItem.Id != null) + { + uploadItem.Id.WriteToXml(writer); + } + + writer.WriteStartElement(XmlNamespace.Types, XmlElementNames.Data); + writer.WriteBase64ElementValue(uploadItem.Data); + writer.WriteEndElement(); + + writer.WriteEndElement(); + } + + writer.WriteEndElement(); + } + + public IEnumerable Items + { + get { return uploadItems; } + set { uploadItems = value; } + } + } +} diff --git a/Core/Responses/ExportItemsResponse.cs b/Core/Responses/ExportItemsResponse.cs new file mode 100644 index 00000000..08f5dd86 --- /dev/null +++ b/Core/Responses/ExportItemsResponse.cs @@ -0,0 +1,53 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; + +namespace Microsoft.Exchange.WebServices.Data +{ + public class ExportItemsResponse : ServiceResponse + { + private ItemId itemId = new ItemId(); + private byte[] data; + + internal override void ReadElementsFromXml(EwsServiceXmlReader reader) + { + base.ReadElementsFromXml(reader); + + if(!reader.IsStartElement(XmlNamespace.Messages, XmlElementNames.ItemId)) + { + reader.ReadStartElement(XmlNamespace.Messages, XmlElementNames.ItemId); + } + + itemId.LoadFromXml(reader, XmlNamespace.Messages, XmlAttributeNames.ItemId); + + if(!reader.IsStartElement(XmlNamespace.Messages, XmlElementNames.Data)) + { + reader.ReadStartElement(XmlNamespace.Messages, XmlElementNames.Data); + } + data = reader.ReadBase64ElementValue(); + } + + internal override void ReadElementsFromJson(JsonObject responseObject, ExchangeService service) + { + base.ReadElementsFromJson(responseObject, service); + } + + public ItemId ItemId + { + get + { + return itemId; + } + } + + public byte[] Data + { + get + { + return data; + } + } + + } +} diff --git a/Core/Responses/UploadItemsResponse.cs b/Core/Responses/UploadItemsResponse.cs new file mode 100644 index 00000000..6f5c3fd6 --- /dev/null +++ b/Core/Responses/UploadItemsResponse.cs @@ -0,0 +1,29 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; + +namespace Microsoft.Exchange.WebServices.Data +{ + public class UploadItemsResponse : ServiceResponse + { + private ItemId itemId = new ItemId(); + + internal override void ReadElementsFromXml(EwsServiceXmlReader reader) + { + base.ReadElementsFromXml(reader); + + if(!reader.IsStartElement(XmlNamespace.Messages, XmlElementNames.ItemId)) + { + reader.ReadStartElement(XmlNamespace.Messages, XmlElementNames.ItemId); + } + + itemId.LoadFromXml(reader, XmlNamespace.Messages, XmlElementNames.ItemId); + } + + public ItemId Id + { + get { return itemId; } + } + } +} diff --git a/Core/ServiceObjects/Items/UploadItem.cs b/Core/ServiceObjects/Items/UploadItem.cs new file mode 100644 index 00000000..4a836858 --- /dev/null +++ b/Core/ServiceObjects/Items/UploadItem.cs @@ -0,0 +1,57 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; + +namespace Microsoft.Exchange.WebServices.Data +{ + public class UploadItem : ServiceObject + { + public UploadItem(ExchangeService service) : base(service) { } + + internal override ServiceObjectSchema GetSchema() + { + return UploadSchema.Instance; + } + + internal override ExchangeVersion GetMinimumRequiredServerVersion() + { + return ExchangeVersion.Exchange2010; + } + + internal override void InternalLoad(PropertySet propertySet) + { + throw new NotImplementedException(); + } + + internal override void InternalDelete(DeleteMode deleteMode, SendCancellationsMode? sendCancellationsMode, AffectedTaskOccurrence? affectedTaskOccurrences) + { + throw new NotImplementedException(); + } + + internal override PropertyDefinition GetIdPropertyDefinition() + { + return UploadSchema.Id; + } + + public ItemId Id + { + get { return (ItemId)this.PropertyBag[GetIdPropertyDefinition()]; } + set { this.PropertyBag[GetIdPropertyDefinition()] = value; } + } + + public FolderId ParentFolderId + { + get { return (FolderId)this.PropertyBag[UploadSchema.ParentFolderId]; } + set { this.PropertyBag[UploadSchema.ParentFolderId] = value; } + } + + public byte[] Data + { + get { return (byte[])this.PropertyBag[UploadSchema.Data]; } + set { this.PropertyBag[UploadSchema.Data] = value; } + } + + public CreateAction CreateAction { get; set; } + } +} diff --git a/Core/ServiceObjects/Schemas/ServiceObjectSchema.cs b/Core/ServiceObjects/Schemas/ServiceObjectSchema.cs index a6977710..48e5fe1f 100644 --- a/Core/ServiceObjects/Schemas/ServiceObjectSchema.cs +++ b/Core/ServiceObjects/Schemas/ServiceObjectSchema.cs @@ -75,6 +75,7 @@ public abstract class ServiceObjectSchema : IEnumerable typeList.Add(typeof(ServiceObjectSchema)); typeList.Add(typeof(SearchFolderSchema)); typeList.Add(typeof(TaskSchema)); + typeList.Add(typeof(UploadSchema)); #if DEBUG // Verify that all Schema types in the Managed API assembly have been included. diff --git a/Core/ServiceObjects/Schemas/UploadSchema.cs b/Core/ServiceObjects/Schemas/UploadSchema.cs new file mode 100644 index 00000000..c6fa8f3f --- /dev/null +++ b/Core/ServiceObjects/Schemas/UploadSchema.cs @@ -0,0 +1,53 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; + +namespace Microsoft.Exchange.WebServices.Data +{ + [Schema] + public class UploadSchema : ServiceObjectSchema + { + private static class FieldUris + { + public const string ItemId = "upload:ItemId"; + public const string ParentFolderId = "upload:ParentFolderId"; + public const string Data = "upload:Data"; + } + + public static readonly PropertyDefinition Id = new ComplexPropertyDefinition( + XmlElementNames.ItemId, + FieldUris.ItemId, + PropertyDefinitionFlags.CanSet, + ExchangeVersion.Exchange2010, + delegate() { return new ItemId(); } + ); + + public static readonly PropertyDefinition ParentFolderId = new ComplexPropertyDefinition( + XmlElementNames.ParentFolderId, + FieldUris.ParentFolderId, + PropertyDefinitionFlags.CanSet, + ExchangeVersion.Exchange2010, + delegate() { return new FolderId(); } + ); + + public static readonly PropertyDefinition Data = new ByteArrayPropertyDefinition( + XmlElementNames.Data, + FieldUris.Data, + PropertyDefinitionFlags.CanSet, + ExchangeVersion.Exchange2010 + ); + + internal static readonly UploadSchema Instance = new UploadSchema(); + + internal override void RegisterProperties() + { + base.RegisterProperties(); + this.RegisterProperty(ParentFolderId); + this.RegisterProperty(Id); + this.RegisterProperty(Data); + } + + internal UploadSchema() : base() { } + } +} diff --git a/Core/XmlElementNames.cs b/Core/XmlElementNames.cs index 67f99a90..033f433a 100644 --- a/Core/XmlElementNames.cs +++ b/Core/XmlElementNames.cs @@ -1337,6 +1337,19 @@ internal static class XmlElementNames public const string ExpandDLResponse = "ExpandDLResponse"; public const string ExpandDLResponseMessage = "ExpandDLResponseMessage"; + // ExportItems + + public const string ExportItems = "ExportItems"; + public const string ExportItemsResponse = "ExportItemsResponse"; + public const string ExportItemsResponseMessage = "ExportItemsResponseMessage"; + public const string Data = "Data"; + + // Upload Items + + public const string UploadItemsResponseMessage = "UploadItemsResponseMessage"; + public const string UploadItemsResponse = "UploadItemsResponse"; + public const string UploadItems = "UploadItems"; + // Subscribe public const string Subscribe = "Subscribe"; public const string SubscribeResponse = "SubscribeResponse"; @@ -1733,5 +1746,6 @@ internal static class XmlElementNames public const string EwsExceptionTypeElementName = "ExceptionType"; // Generated by UM #endregion + } } \ No newline at end of file diff --git a/Enumerations/CreateAction.cs b/Enumerations/CreateAction.cs new file mode 100644 index 00000000..3ace915a --- /dev/null +++ b/Enumerations/CreateAction.cs @@ -0,0 +1,13 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; + +namespace Microsoft.Exchange.WebServices.Data +{ + public enum CreateAction + { + CreateNew, + Update + } +} diff --git a/Enumerations/WellKnownFolderName.cs b/Enumerations/WellKnownFolderName.cs index da4aa16f..e5c99810 100644 --- a/Enumerations/WellKnownFolderName.cs +++ b/Enumerations/WellKnownFolderName.cs @@ -330,7 +330,20 @@ public enum WellKnownFolderName [RequiredServerVersion(ExchangeVersion.Exchange2013)] [EwsEnum("favorites")] Favorites, - + + /// + /// From Favorite senders folder + /// + [RequiredServerVersion(ExchangeVersion.Exchange2013)] + [EwsEnum("fromfavoritesenders")] + FromFavoriteSenders, + + /// + /// Working Set folder + /// + [RequiredServerVersion(ExchangeVersion.Exchange2013)] + [EwsEnum("workingset")] + WorkingSet, //// Note when you adding new folder id here, please update sources\test\Services\src\ComponentTests\GlobalVersioningControl.cs //// IsExchange2013Folder method accordingly. } diff --git a/Microsoft.Exchange.WebServices.Data.csproj b/Microsoft.Exchange.WebServices.Data.csproj index f4781e3f..b1f686e1 100644 --- a/Microsoft.Exchange.WebServices.Data.csproj +++ b/Microsoft.Exchange.WebServices.Data.csproj @@ -121,6 +121,13 @@ + + + + + + + @@ -412,6 +419,11 @@ + + True + True + Resources.resx + diff --git a/Properties/Resources.Designer.cs b/Properties/Resources.Designer.cs new file mode 100644 index 00000000..3a18985d --- /dev/null +++ b/Properties/Resources.Designer.cs @@ -0,0 +1,1800 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.18444 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace Microsoft.Exchange.WebServices.Data.Properties { + using System; + + + /// + /// A strongly-typed resource class, for looking up localized strings, etc. + /// + // This class was auto-generated by the StronglyTypedResourceBuilder + // class via a tool like ResGen or Visual Studio. + // To add or remove a member, edit your .ResX file then rerun ResGen + // with the /str option, or rebuild your VS project. + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + internal class Resources { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal Resources() { + } + + /// + /// Returns the cached ResourceManager instance used by this class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Resources.ResourceManager ResourceManager { + get { + if (object.ReferenceEquals(resourceMan, null)) { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Microsoft.Exchange.WebServices.Data.Properties.Resources", typeof(Resources).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// + /// Overrides the current thread's CurrentUICulture property for all + /// resource lookups using this strongly typed resource class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Globalization.CultureInfo Culture { + get { + return resourceCulture; + } + set { + resourceCulture = value; + } + } + + /// + /// Looks up a localized string similar to AccountIsLocked. + /// + internal static string AccountIsLocked { + get { + return ResourceManager.GetString("AccountIsLocked", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to AdditionalPropertyIsNull. + /// + internal static string AdditionalPropertyIsNull { + get { + return ResourceManager.GetString("AdditionalPropertyIsNull", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to ArgumentIsBlankString. + /// + internal static string ArgumentIsBlankString { + get { + return ResourceManager.GetString("ArgumentIsBlankString", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to ArrayMustHaveAtLeastOneElement. + /// + internal static string ArrayMustHaveAtLeastOneElement { + get { + return ResourceManager.GetString("ArrayMustHaveAtLeastOneElement", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to ArrayMustHaveSingleDimension. + /// + internal static string ArrayMustHaveSingleDimension { + get { + return ResourceManager.GetString("ArrayMustHaveSingleDimension", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to AtLeastOneAttachmentCouldNotBeDeleted. + /// + internal static string AtLeastOneAttachmentCouldNotBeDeleted { + get { + return ResourceManager.GetString("AtLeastOneAttachmentCouldNotBeDeleted", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to AttachmentCannotBeUpdated. + /// + internal static string AttachmentCannotBeUpdated { + get { + return ResourceManager.GetString("AttachmentCannotBeUpdated", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to AttachmentCollectionNotLoaded. + /// + internal static string AttachmentCollectionNotLoaded { + get { + return ResourceManager.GetString("AttachmentCollectionNotLoaded", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to AttachmentCreationFailed. + /// + internal static string AttachmentCreationFailed { + get { + return ResourceManager.GetString("AttachmentCreationFailed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to AttachmentItemTypeMismatch. + /// + internal static string AttachmentItemTypeMismatch { + get { + return ResourceManager.GetString("AttachmentItemTypeMismatch", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to AttributeValueCannotBeSerialized. + /// + internal static string AttributeValueCannotBeSerialized { + get { + return ResourceManager.GetString("AttributeValueCannotBeSerialized", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to AutodiscoverCouldNotBeLocated. + /// + internal static string AutodiscoverCouldNotBeLocated { + get { + return ResourceManager.GetString("AutodiscoverCouldNotBeLocated", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to AutodiscoverDidNotReturnEwsUrl. + /// + internal static string AutodiscoverDidNotReturnEwsUrl { + get { + return ResourceManager.GetString("AutodiscoverDidNotReturnEwsUrl", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to AutodiscoverError. + /// + internal static string AutodiscoverError { + get { + return ResourceManager.GetString("AutodiscoverError", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to AutodiscoverInvalidSettingForOutlookProvider. + /// + internal static string AutodiscoverInvalidSettingForOutlookProvider { + get { + return ResourceManager.GetString("AutodiscoverInvalidSettingForOutlookProvider", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to AutodiscoverRedirectBlocked. + /// + internal static string AutodiscoverRedirectBlocked { + get { + return ResourceManager.GetString("AutodiscoverRedirectBlocked", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to AutodiscoverServiceIncompatibleWithRequestVersion. + /// + internal static string AutodiscoverServiceIncompatibleWithRequestVersion { + get { + return ResourceManager.GetString("AutodiscoverServiceIncompatibleWithRequestVersion", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to AutodiscoverServiceRequestRequiresDomainOrUrl. + /// + internal static string AutodiscoverServiceRequestRequiresDomainOrUrl { + get { + return ResourceManager.GetString("AutodiscoverServiceRequestRequiresDomainOrUrl", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to BothSearchFilterAndQueryStringCannotBeSpecified. + /// + internal static string BothSearchFilterAndQueryStringCannotBeSpecified { + get { + return ResourceManager.GetString("BothSearchFilterAndQueryStringCannotBeSpecified", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to CannotAddRequestHeader. + /// + internal static string CannotAddRequestHeader { + get { + return ResourceManager.GetString("CannotAddRequestHeader", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to CannotAddSubscriptionToLiveConnection. + /// + internal static string CannotAddSubscriptionToLiveConnection { + get { + return ResourceManager.GetString("CannotAddSubscriptionToLiveConnection", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to CannotCallConnectDuringLiveConnection. + /// + internal static string CannotCallConnectDuringLiveConnection { + get { + return ResourceManager.GetString("CannotCallConnectDuringLiveConnection", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to CannotCallDisconnectWithNoLiveConnection. + /// + internal static string CannotCallDisconnectWithNoLiveConnection { + get { + return ResourceManager.GetString("CannotCallDisconnectWithNoLiveConnection", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to CannotConvertBetweenTimeZones. + /// + internal static string CannotConvertBetweenTimeZones { + get { + return ResourceManager.GetString("CannotConvertBetweenTimeZones", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to CannotRemoveSubscriptionFromLiveConnection. + /// + internal static string CannotRemoveSubscriptionFromLiveConnection { + get { + return ResourceManager.GetString("CannotRemoveSubscriptionFromLiveConnection", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to CannotSaveNotNewUserConfiguration. + /// + internal static string CannotSaveNotNewUserConfiguration { + get { + return ResourceManager.GetString("CannotSaveNotNewUserConfiguration", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to CannotSetBothImpersonatedAndPrivilegedUser. + /// + internal static string CannotSetBothImpersonatedAndPrivilegedUser { + get { + return ResourceManager.GetString("CannotSetBothImpersonatedAndPrivilegedUser", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to CannotSetDelegateFolderPermissionLevelToCustom. + /// + internal static string CannotSetDelegateFolderPermissionLevelToCustom { + get { + return ResourceManager.GetString("CannotSetDelegateFolderPermissionLevelToCustom", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to CannotSetPermissionLevelToCustom. + /// + internal static string CannotSetPermissionLevelToCustom { + get { + return ResourceManager.GetString("CannotSetPermissionLevelToCustom", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to CannotSubscribeToStatusEvents. + /// + internal static string CannotSubscribeToStatusEvents { + get { + return ResourceManager.GetString("CannotSubscribeToStatusEvents", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to CannotUpdateNewUserConfiguration. + /// + internal static string CannotUpdateNewUserConfiguration { + get { + return ResourceManager.GetString("CannotUpdateNewUserConfiguration", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to CertificateHasNoPrivateKey. + /// + internal static string CertificateHasNoPrivateKey { + get { + return ResourceManager.GetString("CertificateHasNoPrivateKey", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to ClassIncompatibleWithRequestVersion. + /// + internal static string ClassIncompatibleWithRequestVersion { + get { + return ResourceManager.GetString("ClassIncompatibleWithRequestVersion", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to CollectionIsEmpty. + /// + internal static string CollectionIsEmpty { + get { + return ResourceManager.GetString("CollectionIsEmpty", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to ContactGroupMemberCannotBeUpdatedWithoutBeingLoadedFirst. + /// + internal static string ContactGroupMemberCannotBeUpdatedWithoutBeingLoadedFirst { + get { + return ResourceManager.GetString("ContactGroupMemberCannotBeUpdatedWithoutBeingLoadedFirst", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to CreateItemsDoesNotAllowAttachments. + /// + internal static string CreateItemsDoesNotAllowAttachments { + get { + return ResourceManager.GetString("CreateItemsDoesNotAllowAttachments", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to CreateItemsDoesNotHandleExistingItems. + /// + internal static string CreateItemsDoesNotHandleExistingItems { + get { + return ResourceManager.GetString("CreateItemsDoesNotHandleExistingItems", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to CredentialsRequired. + /// + internal static string CredentialsRequired { + get { + return ResourceManager.GetString("CredentialsRequired", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to CurrentPositionNotElementStart. + /// + internal static string CurrentPositionNotElementStart { + get { + return ResourceManager.GetString("CurrentPositionNotElementStart", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to DayOfMonthMustBeBetween1And31. + /// + internal static string DayOfMonthMustBeBetween1And31 { + get { + return ResourceManager.GetString("DayOfMonthMustBeBetween1And31", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to DayOfMonthMustBeSpecifiedForRecurrencePattern. + /// + internal static string DayOfMonthMustBeSpecifiedForRecurrencePattern { + get { + return ResourceManager.GetString("DayOfMonthMustBeSpecifiedForRecurrencePattern", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to DayOfTheWeekMustBeSpecifiedForRecurrencePattern. + /// + internal static string DayOfTheWeekMustBeSpecifiedForRecurrencePattern { + get { + return ResourceManager.GetString("DayOfTheWeekMustBeSpecifiedForRecurrencePattern", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to DayOfWeekIndexMustBeSpecifiedForRecurrencePattern. + /// + internal static string DayOfWeekIndexMustBeSpecifiedForRecurrencePattern { + get { + return ResourceManager.GetString("DayOfWeekIndexMustBeSpecifiedForRecurrencePattern", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to DaysOfTheWeekNotSpecified. + /// + internal static string DaysOfTheWeekNotSpecified { + get { + return ResourceManager.GetString("DaysOfTheWeekNotSpecified", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to DelegateUserHasInvalidUserId. + /// + internal static string DelegateUserHasInvalidUserId { + get { + return ResourceManager.GetString("DelegateUserHasInvalidUserId", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to DeleteInvalidForUnsavedUserConfiguration. + /// + internal static string DeleteInvalidForUnsavedUserConfiguration { + get { + return ResourceManager.GetString("DeleteInvalidForUnsavedUserConfiguration", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to DeletingThisObjectTypeNotAuthorized. + /// + internal static string DeletingThisObjectTypeNotAuthorized { + get { + return ResourceManager.GetString("DeletingThisObjectTypeNotAuthorized", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to DurationMustBeSpecifiedWhenScheduled. + /// + internal static string DurationMustBeSpecifiedWhenScheduled { + get { + return ResourceManager.GetString("DurationMustBeSpecifiedWhenScheduled", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to ElementNotFound. + /// + internal static string ElementNotFound { + get { + return ResourceManager.GetString("ElementNotFound", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to ElementValueCannotBeSerialized. + /// + internal static string ElementValueCannotBeSerialized { + get { + return ResourceManager.GetString("ElementValueCannotBeSerialized", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to EndDateMustBeGreaterThanStartDate. + /// + internal static string EndDateMustBeGreaterThanStartDate { + get { + return ResourceManager.GetString("EndDateMustBeGreaterThanStartDate", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to EnumValueIncompatibleWithRequestVersion. + /// + internal static string EnumValueIncompatibleWithRequestVersion { + get { + return ResourceManager.GetString("EnumValueIncompatibleWithRequestVersion", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to EqualityComparisonFilterIsInvalid. + /// + internal static string EqualityComparisonFilterIsInvalid { + get { + return ResourceManager.GetString("EqualityComparisonFilterIsInvalid", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to ExpectedStartElement. + /// + internal static string ExpectedStartElement { + get { + return ResourceManager.GetString("ExpectedStartElement", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to FileAttachmentContentIsNotSet. + /// + internal static string FileAttachmentContentIsNotSet { + get { + return ResourceManager.GetString("FileAttachmentContentIsNotSet", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to FolderPermissionHasInvalidUserId. + /// + internal static string FolderPermissionHasInvalidUserId { + get { + return ResourceManager.GetString("FolderPermissionHasInvalidUserId", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to FolderPermissionLevelMustBeSet. + /// + internal static string FolderPermissionLevelMustBeSet { + get { + return ResourceManager.GetString("FolderPermissionLevelMustBeSet", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to FolderToUpdateCannotBeNullOrNew. + /// + internal static string FolderToUpdateCannotBeNullOrNew { + get { + return ResourceManager.GetString("FolderToUpdateCannotBeNullOrNew", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to FolderTypeNotCompatible. + /// + internal static string FolderTypeNotCompatible { + get { + return ResourceManager.GetString("FolderTypeNotCompatible", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to FrequencyMustBeBetween1And1440. + /// + internal static string FrequencyMustBeBetween1And1440 { + get { + return ResourceManager.GetString("FrequencyMustBeBetween1And1440", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to HoldIdParameterIsNotSpecified. + /// + internal static string HoldIdParameterIsNotSpecified { + get { + return ResourceManager.GetString("HoldIdParameterIsNotSpecified", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to HoldMailboxesParameterIsNotSpecified. + /// + internal static string HoldMailboxesParameterIsNotSpecified { + get { + return ResourceManager.GetString("HoldMailboxesParameterIsNotSpecified", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to HourMustBeBetween0And23. + /// + internal static string HourMustBeBetween0And23 { + get { + return ResourceManager.GetString("HourMustBeBetween0And23", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to HttpsIsRequired. + /// + internal static string HttpsIsRequired { + get { + return ResourceManager.GetString("HttpsIsRequired", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to IdAlreadyInList. + /// + internal static string IdAlreadyInList { + get { + return ResourceManager.GetString("IdAlreadyInList", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to IdPropertyMustBeSet. + /// + internal static string IdPropertyMustBeSet { + get { + return ResourceManager.GetString("IdPropertyMustBeSet", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to IEnumerableDoesNotContainThatManyObject. + /// + internal static string IEnumerableDoesNotContainThatManyObject { + get { + return ResourceManager.GetString("IEnumerableDoesNotContainThatManyObject", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to IncompatibleTypeForArray. + /// + internal static string IncompatibleTypeForArray { + get { + return ResourceManager.GetString("IncompatibleTypeForArray", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to IndexIsOutOfRange. + /// + internal static string IndexIsOutOfRange { + get { + return ResourceManager.GetString("IndexIsOutOfRange", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to IntervalMustBeGreaterOrEqualToOne. + /// + internal static string IntervalMustBeGreaterOrEqualToOne { + get { + return ResourceManager.GetString("IntervalMustBeGreaterOrEqualToOne", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to InvalidAsyncResult. + /// + internal static string InvalidAsyncResult { + get { + return ResourceManager.GetString("InvalidAsyncResult", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to InvalidAttributeValue. + /// + internal static string InvalidAttributeValue { + get { + return ResourceManager.GetString("InvalidAttributeValue", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to InvalidAuthScheme. + /// + internal static string InvalidAuthScheme { + get { + return ResourceManager.GetString("InvalidAuthScheme", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to InvalidAutodiscoverDomain. + /// + internal static string InvalidAutodiscoverDomain { + get { + return ResourceManager.GetString("InvalidAutodiscoverDomain", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to InvalidAutodiscoverDomainsCount. + /// + internal static string InvalidAutodiscoverDomainsCount { + get { + return ResourceManager.GetString("InvalidAutodiscoverDomainsCount", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to InvalidAutodiscoverRequest. + /// + internal static string InvalidAutodiscoverRequest { + get { + return ResourceManager.GetString("InvalidAutodiscoverRequest", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to InvalidAutodiscoverServiceResponse. + /// + internal static string InvalidAutodiscoverServiceResponse { + get { + return ResourceManager.GetString("InvalidAutodiscoverServiceResponse", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to InvalidAutodiscoverSettingsCount. + /// + internal static string InvalidAutodiscoverSettingsCount { + get { + return ResourceManager.GetString("InvalidAutodiscoverSettingsCount", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to InvalidAutodiscoverSmtpAddress. + /// + internal static string InvalidAutodiscoverSmtpAddress { + get { + return ResourceManager.GetString("InvalidAutodiscoverSmtpAddress", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to InvalidAutodiscoverSmtpAddressesCount. + /// + internal static string InvalidAutodiscoverSmtpAddressesCount { + get { + return ResourceManager.GetString("InvalidAutodiscoverSmtpAddressesCount", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to InvalidDateTime. + /// + internal static string InvalidDateTime { + get { + return ResourceManager.GetString("InvalidDateTime", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to InvalidDomainName. + /// + internal static string InvalidDomainName { + get { + return ResourceManager.GetString("InvalidDomainName", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to InvalidElementStringValue. + /// + internal static string InvalidElementStringValue { + get { + return ResourceManager.GetString("InvalidElementStringValue", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to InvalidEmailAddress. + /// + internal static string InvalidEmailAddress { + get { + return ResourceManager.GetString("InvalidEmailAddress", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to InvalidFrequencyValue. + /// + internal static string InvalidFrequencyValue { + get { + return ResourceManager.GetString("InvalidFrequencyValue", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to InvalidMailboxType. + /// + internal static string InvalidMailboxType { + get { + return ResourceManager.GetString("InvalidMailboxType", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to InvalidOAuthToken. + /// + internal static string InvalidOAuthToken { + get { + return ResourceManager.GetString("InvalidOAuthToken", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to InvalidOrderBy. + /// + internal static string InvalidOrderBy { + get { + return ResourceManager.GetString("InvalidOrderBy", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to InvalidOrUnsupportedTimeZoneDefinition. + /// + internal static string InvalidOrUnsupportedTimeZoneDefinition { + get { + return ResourceManager.GetString("InvalidOrUnsupportedTimeZoneDefinition", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to InvalidPropertyValueNotInRange. + /// + internal static string InvalidPropertyValueNotInRange { + get { + return ResourceManager.GetString("InvalidPropertyValueNotInRange", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to InvalidRecurrencePattern. + /// + internal static string InvalidRecurrencePattern { + get { + return ResourceManager.GetString("InvalidRecurrencePattern", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to InvalidRecurrenceRange. + /// + internal static string InvalidRecurrenceRange { + get { + return ResourceManager.GetString("InvalidRecurrenceRange", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to InvalidRedirectionResponseReturned. + /// + internal static string InvalidRedirectionResponseReturned { + get { + return ResourceManager.GetString("InvalidRedirectionResponseReturned", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to InvalidSortByPropertyForMailboxSearch. + /// + internal static string InvalidSortByPropertyForMailboxSearch { + get { + return ResourceManager.GetString("InvalidSortByPropertyForMailboxSearch", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to InvalidTimeoutValue. + /// + internal static string InvalidTimeoutValue { + get { + return ResourceManager.GetString("InvalidTimeoutValue", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to InvalidUser. + /// + internal static string InvalidUser { + get { + return ResourceManager.GetString("InvalidUser", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to ItemAttachmentCannotBeUpdated. + /// + internal static string ItemAttachmentCannotBeUpdated { + get { + return ResourceManager.GetString("ItemAttachmentCannotBeUpdated", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to ItemAttachmentMustBeNamed. + /// + internal static string ItemAttachmentMustBeNamed { + get { + return ResourceManager.GetString("ItemAttachmentMustBeNamed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to ItemIsOutOfDate. + /// + internal static string ItemIsOutOfDate { + get { + return ResourceManager.GetString("ItemIsOutOfDate", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to ItemToUpdateCannotBeNullOrNew. + /// + internal static string ItemToUpdateCannotBeNullOrNew { + get { + return ResourceManager.GetString("ItemToUpdateCannotBeNullOrNew", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to ItemTypeNotCompatible. + /// + internal static string ItemTypeNotCompatible { + get { + return ResourceManager.GetString("ItemTypeNotCompatible", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to JsonDeserializationNotImplemented. + /// + internal static string JsonDeserializationNotImplemented { + get { + return ResourceManager.GetString("JsonDeserializationNotImplemented", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to JsonSerializationNotImplemented. + /// + internal static string JsonSerializationNotImplemented { + get { + return ResourceManager.GetString("JsonSerializationNotImplemented", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to LoadingThisObjectTypeNotSupported. + /// + internal static string LoadingThisObjectTypeNotSupported { + get { + return ResourceManager.GetString("LoadingThisObjectTypeNotSupported", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to MailboxesParameterIsNotSpecified. + /// + internal static string MailboxesParameterIsNotSpecified { + get { + return ResourceManager.GetString("MailboxesParameterIsNotSpecified", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to MailboxQueriesParameterIsNotSpecified. + /// + internal static string MailboxQueriesParameterIsNotSpecified { + get { + return ResourceManager.GetString("MailboxQueriesParameterIsNotSpecified", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to MaxChangesMustBeBetween1And512. + /// + internal static string MaxChangesMustBeBetween1And512 { + get { + return ResourceManager.GetString("MaxChangesMustBeBetween1And512", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to MaximumRedirectionHopsExceeded. + /// + internal static string MaximumRedirectionHopsExceeded { + get { + return ResourceManager.GetString("MaximumRedirectionHopsExceeded", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to MaxScpHopsExceeded. + /// + internal static string MaxScpHopsExceeded { + get { + return ResourceManager.GetString("MaxScpHopsExceeded", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to MergedFreeBusyIntervalMustBeSmallerThanTimeWindow. + /// + internal static string MergedFreeBusyIntervalMustBeSmallerThanTimeWindow { + get { + return ResourceManager.GetString("MergedFreeBusyIntervalMustBeSmallerThanTimeWindow", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to MethodIncompatibleWithRequestVersion. + /// + internal static string MethodIncompatibleWithRequestVersion { + get { + return ResourceManager.GetString("MethodIncompatibleWithRequestVersion", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to MinuteMustBeBetween0And59. + /// + internal static string MinuteMustBeBetween0And59 { + get { + return ResourceManager.GetString("MinuteMustBeBetween0And59", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to MinutesMustBeBetween0And1439. + /// + internal static string MinutesMustBeBetween0And1439 { + get { + return ResourceManager.GetString("MinutesMustBeBetween0And1439", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to MonthMustBeSpecifiedForRecurrencePattern. + /// + internal static string MonthMustBeSpecifiedForRecurrencePattern { + get { + return ResourceManager.GetString("MonthMustBeSpecifiedForRecurrencePattern", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to MultipleContactPhotosInAttachment. + /// + internal static string MultipleContactPhotosInAttachment { + get { + return ResourceManager.GetString("MultipleContactPhotosInAttachment", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to MustLoadOrAssignPropertyBeforeAccess. + /// + internal static string MustLoadOrAssignPropertyBeforeAccess { + get { + return ResourceManager.GetString("MustLoadOrAssignPropertyBeforeAccess", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to NewMessagesWithAttachmentsCannotBeSentDirectly. + /// + internal static string NewMessagesWithAttachmentsCannotBeSentDirectly { + get { + return ResourceManager.GetString("NewMessagesWithAttachmentsCannotBeSentDirectly", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to NoAppropriateConstructorForItemClass. + /// + internal static string NoAppropriateConstructorForItemClass { + get { + return ResourceManager.GetString("NoAppropriateConstructorForItemClass", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to NoError. + /// + internal static string NoError { + get { + return ResourceManager.GetString("NoError", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to NonSummaryPropertyCannotBeUsed. + /// + internal static string NonSummaryPropertyCannotBeUsed { + get { + return ResourceManager.GetString("NonSummaryPropertyCannotBeUsed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to NoSoapOrWsSecurityEndpointAvailable. + /// + internal static string NoSoapOrWsSecurityEndpointAvailable { + get { + return ResourceManager.GetString("NoSoapOrWsSecurityEndpointAvailable", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to NoSubscriptionsOnConnection. + /// + internal static string NoSubscriptionsOnConnection { + get { + return ResourceManager.GetString("NoSubscriptionsOnConnection", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to NullStringArrayElementInvalid. + /// + internal static string NullStringArrayElementInvalid { + get { + return ResourceManager.GetString("NullStringArrayElementInvalid", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to NumberOfDaysMustBePositive. + /// + internal static string NumberOfDaysMustBePositive { + get { + return ResourceManager.GetString("NumberOfDaysMustBePositive", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to NumberOfOccurrencesMustBeGreaterThanZero. + /// + internal static string NumberOfOccurrencesMustBeGreaterThanZero { + get { + return ResourceManager.GetString("NumberOfOccurrencesMustBeGreaterThanZero", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to ObjectDoesNotHaveId. + /// + internal static string ObjectDoesNotHaveId { + get { + return ResourceManager.GetString("ObjectDoesNotHaveId", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to ObjectTypeIncompatibleWithRequestVersion. + /// + internal static string ObjectTypeIncompatibleWithRequestVersion { + get { + return ResourceManager.GetString("ObjectTypeIncompatibleWithRequestVersion", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to ObjectTypeNotSupported. + /// + internal static string ObjectTypeNotSupported { + get { + return ResourceManager.GetString("ObjectTypeNotSupported", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to OccurrenceIndexMustBeGreaterThanZero. + /// + internal static string OccurrenceIndexMustBeGreaterThanZero { + get { + return ResourceManager.GetString("OccurrenceIndexMustBeGreaterThanZero", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to OffsetMustBeGreaterThanZero. + /// + internal static string OffsetMustBeGreaterThanZero { + get { + return ResourceManager.GetString("OffsetMustBeGreaterThanZero", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to OperationDoesNotSupportAttachments. + /// + internal static string OperationDoesNotSupportAttachments { + get { + return ResourceManager.GetString("OperationDoesNotSupportAttachments", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to OperationNotSupportedForPropertyDefinitionType. + /// + internal static string OperationNotSupportedForPropertyDefinitionType { + get { + return ResourceManager.GetString("OperationNotSupportedForPropertyDefinitionType", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to ParameterIncompatibleWithRequestVersion. + /// + internal static string ParameterIncompatibleWithRequestVersion { + get { + return ResourceManager.GetString("ParameterIncompatibleWithRequestVersion", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to ParentFolderDoesNotHaveId. + /// + internal static string ParentFolderDoesNotHaveId { + get { + return ResourceManager.GetString("ParentFolderDoesNotHaveId", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to PartnerTokenIncompatibleWithRequestVersion. + /// + internal static string PartnerTokenIncompatibleWithRequestVersion { + get { + return ResourceManager.GetString("PartnerTokenIncompatibleWithRequestVersion", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to PartnerTokenRequestRequiresUrl. + /// + internal static string PartnerTokenRequestRequiresUrl { + get { + return ResourceManager.GetString("PartnerTokenRequestRequiresUrl", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to PercentCompleteMustBeBetween0And100. + /// + internal static string PercentCompleteMustBeBetween0And100 { + get { + return ResourceManager.GetString("PercentCompleteMustBeBetween0And100", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to PeriodNotFound. + /// + internal static string PeriodNotFound { + get { + return ResourceManager.GetString("PeriodNotFound", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to PermissionLevelInvalidForNonCalendarFolder. + /// + internal static string PermissionLevelInvalidForNonCalendarFolder { + get { + return ResourceManager.GetString("PermissionLevelInvalidForNonCalendarFolder", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to PhoneCallAlreadyDisconnected. + /// + internal static string PhoneCallAlreadyDisconnected { + get { + return ResourceManager.GetString("PhoneCallAlreadyDisconnected", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to PropertyAlreadyExistsInOrderByCollection. + /// + internal static string PropertyAlreadyExistsInOrderByCollection { + get { + return ResourceManager.GetString("PropertyAlreadyExistsInOrderByCollection", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to PropertyCannotBeDeleted. + /// + internal static string PropertyCannotBeDeleted { + get { + return ResourceManager.GetString("PropertyCannotBeDeleted", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to PropertyCannotBeUpdated. + /// + internal static string PropertyCannotBeUpdated { + get { + return ResourceManager.GetString("PropertyCannotBeUpdated", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to PropertyCollectionSizeMismatch. + /// + internal static string PropertyCollectionSizeMismatch { + get { + return ResourceManager.GetString("PropertyCollectionSizeMismatch", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to PropertyDefinitionPropertyMustBeSet. + /// + internal static string PropertyDefinitionPropertyMustBeSet { + get { + return ResourceManager.GetString("PropertyDefinitionPropertyMustBeSet", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to PropertyDefinitionTypeMismatch. + /// + internal static string PropertyDefinitionTypeMismatch { + get { + return ResourceManager.GetString("PropertyDefinitionTypeMismatch", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to PropertyIncompatibleWithRequestVersion. + /// + internal static string PropertyIncompatibleWithRequestVersion { + get { + return ResourceManager.GetString("PropertyIncompatibleWithRequestVersion", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to PropertyIsReadOnly. + /// + internal static string PropertyIsReadOnly { + get { + return ResourceManager.GetString("PropertyIsReadOnly", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to PropertySetCannotBeModified. + /// + internal static string PropertySetCannotBeModified { + get { + return ResourceManager.GetString("PropertySetCannotBeModified", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to PropertyTypeIncompatibleWhenUpdatingCollection. + /// + internal static string PropertyTypeIncompatibleWhenUpdatingCollection { + get { + return ResourceManager.GetString("PropertyTypeIncompatibleWhenUpdatingCollection", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to PropertyValueMustBeSpecifiedForRecurrencePattern. + /// + internal static string PropertyValueMustBeSpecifiedForRecurrencePattern { + get { + return ResourceManager.GetString("PropertyValueMustBeSpecifiedForRecurrencePattern", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to ReadAccessInvalidForNonCalendarFolder. + /// + internal static string ReadAccessInvalidForNonCalendarFolder { + get { + return ResourceManager.GetString("ReadAccessInvalidForNonCalendarFolder", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to RecurrencePatternMustHaveStartDate. + /// + internal static string RecurrencePatternMustHaveStartDate { + get { + return ResourceManager.GetString("RecurrencePatternMustHaveStartDate", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to RegenerationPatternsOnlyValidForTasks. + /// + internal static string RegenerationPatternsOnlyValidForTasks { + get { + return ResourceManager.GetString("RegenerationPatternsOnlyValidForTasks", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to RequestIncompatibleWithRequestVersion. + /// + internal static string RequestIncompatibleWithRequestVersion { + get { + return ResourceManager.GetString("RequestIncompatibleWithRequestVersion", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to SearchFilterAtIndexIsInvalid. + /// + internal static string SearchFilterAtIndexIsInvalid { + get { + return ResourceManager.GetString("SearchFilterAtIndexIsInvalid", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to SearchFilterComparisonValueTypeIsNotSupported. + /// + internal static string SearchFilterComparisonValueTypeIsNotSupported { + get { + return ResourceManager.GetString("SearchFilterComparisonValueTypeIsNotSupported", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to SearchFilterMustBeSet. + /// + internal static string SearchFilterMustBeSet { + get { + return ResourceManager.GetString("SearchFilterMustBeSet", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to SearchParametersRootFolderIdsEmpty. + /// + internal static string SearchParametersRootFolderIdsEmpty { + get { + return ResourceManager.GetString("SearchParametersRootFolderIdsEmpty", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to SecondMustBeBetween0And59. + /// + internal static string SecondMustBeBetween0And59 { + get { + return ResourceManager.GetString("SecondMustBeBetween0And59", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to ServerErrorAndStackTraceDetails. + /// + internal static string ServerErrorAndStackTraceDetails { + get { + return ResourceManager.GetString("ServerErrorAndStackTraceDetails", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to ServerVersionNotSupported. + /// + internal static string ServerVersionNotSupported { + get { + return ResourceManager.GetString("ServerVersionNotSupported", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to ServiceObjectAlreadyHasId. + /// + internal static string ServiceObjectAlreadyHasId { + get { + return ResourceManager.GetString("ServiceObjectAlreadyHasId", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to ServiceObjectDoesNotHaveId. + /// + internal static string ServiceObjectDoesNotHaveId { + get { + return ResourceManager.GetString("ServiceObjectDoesNotHaveId", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to ServiceRequestFailed. + /// + internal static string ServiceRequestFailed { + get { + return ResourceManager.GetString("ServiceRequestFailed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to ServiceResponseDoesNotContainXml. + /// + internal static string ServiceResponseDoesNotContainXml { + get { + return ResourceManager.GetString("ServiceResponseDoesNotContainXml", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to ServiceUrlMustBeSet. + /// + internal static string ServiceUrlMustBeSet { + get { + return ResourceManager.GetString("ServiceUrlMustBeSet", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to StartTimeZoneRequired. + /// + internal static string StartTimeZoneRequired { + get { + return ResourceManager.GetString("StartTimeZoneRequired", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to TagValueIsOutOfRange. + /// + internal static string TagValueIsOutOfRange { + get { + return ResourceManager.GetString("TagValueIsOutOfRange", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to TimeoutMustBeBetween1And1440. + /// + internal static string TimeoutMustBeBetween1And1440 { + get { + return ResourceManager.GetString("TimeoutMustBeBetween1And1440", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to TimeoutMustBeGreaterThanZero. + /// + internal static string TimeoutMustBeGreaterThanZero { + get { + return ResourceManager.GetString("TimeoutMustBeGreaterThanZero", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to TimeWindowStartTimeMustBeGreaterThanEndTime. + /// + internal static string TimeWindowStartTimeMustBeGreaterThanEndTime { + get { + return ResourceManager.GetString("TimeWindowStartTimeMustBeGreaterThanEndTime", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to TooFewServiceReponsesReturned. + /// + internal static string TooFewServiceReponsesReturned { + get { + return ResourceManager.GetString("TooFewServiceReponsesReturned", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to TransitionGroupNotFound. + /// + internal static string TransitionGroupNotFound { + get { + return ResourceManager.GetString("TransitionGroupNotFound", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to UnexpectedElement. + /// + internal static string UnexpectedElement { + get { + return ResourceManager.GetString("UnexpectedElement", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to UnexpectedElementType. + /// + internal static string UnexpectedElementType { + get { + return ResourceManager.GetString("UnexpectedElementType", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to UnexpectedEndOfXmlDocument. + /// + internal static string UnexpectedEndOfXmlDocument { + get { + return ResourceManager.GetString("UnexpectedEndOfXmlDocument", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to UnknownTimeZonePeriodTransitionType. + /// + internal static string UnknownTimeZonePeriodTransitionType { + get { + return ResourceManager.GetString("UnknownTimeZonePeriodTransitionType", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to UnsupportedTimeZonePeriodTransitionTarget. + /// + internal static string UnsupportedTimeZonePeriodTransitionTarget { + get { + return ResourceManager.GetString("UnsupportedTimeZonePeriodTransitionTarget", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to UnsupportedWebProtocol. + /// + internal static string UnsupportedWebProtocol { + get { + return ResourceManager.GetString("UnsupportedWebProtocol", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to UpdateItemsDoesNotAllowAttachments. + /// + internal static string UpdateItemsDoesNotAllowAttachments { + get { + return ResourceManager.GetString("UpdateItemsDoesNotAllowAttachments", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to UpdateItemsDoesNotSupportNewOrUnchangedItems. + /// + internal static string UpdateItemsDoesNotSupportNewOrUnchangedItems { + get { + return ResourceManager.GetString("UpdateItemsDoesNotSupportNewOrUnchangedItems", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to UserIdForDelegateUserNotSpecified. + /// + internal static string UserIdForDelegateUserNotSpecified { + get { + return ResourceManager.GetString("UserIdForDelegateUserNotSpecified", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to ValidationFailed. + /// + internal static string ValidationFailed { + get { + return ResourceManager.GetString("ValidationFailed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to ValueCannotBeConverted. + /// + internal static string ValueCannotBeConverted { + get { + return ResourceManager.GetString("ValueCannotBeConverted", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to ValueMustBeGreaterThanZero. + /// + internal static string ValueMustBeGreaterThanZero { + get { + return ResourceManager.GetString("ValueMustBeGreaterThanZero", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to ValueOfTypeCannotBeConverted. + /// + internal static string ValueOfTypeCannotBeConverted { + get { + return ResourceManager.GetString("ValueOfTypeCannotBeConverted", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to ValuePropertyMustBeSet. + /// + internal static string ValuePropertyMustBeSet { + get { + return ResourceManager.GetString("ValuePropertyMustBeSet", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to ValuePropertyNotAssigned. + /// + internal static string ValuePropertyNotAssigned { + get { + return ResourceManager.GetString("ValuePropertyNotAssigned", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to ValuePropertyNotLoaded. + /// + internal static string ValuePropertyNotLoaded { + get { + return ResourceManager.GetString("ValuePropertyNotLoaded", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to WLIDCredentialsCannotBeUsedWithLegacyAutodiscover. + /// + internal static string WLIDCredentialsCannotBeUsedWithLegacyAutodiscover { + get { + return ResourceManager.GetString("WLIDCredentialsCannotBeUsedWithLegacyAutodiscover", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to XsDurationCouldNotBeParsed. + /// + internal static string XsDurationCouldNotBeParsed { + get { + return ResourceManager.GetString("XsDurationCouldNotBeParsed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to ZeroLengthArrayInvalid. + /// + internal static string ZeroLengthArrayInvalid { + get { + return ResourceManager.GetString("ZeroLengthArrayInvalid", resourceCulture); + } + } + } +} diff --git a/Properties/Resources.resx b/Properties/Resources.resx new file mode 100644 index 00000000..52960647 --- /dev/null +++ b/Properties/Resources.resx @@ -0,0 +1,680 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 1.3 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.3500.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.3500.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + CannotRemoveSubscriptionFromLiveConnection + " + + ReadAccessInvalidForNonCalendarFolder + " + + PropertyDefinitionPropertyMustBeSet + " + + ArgumentIsBlankString + " + + InvalidAutodiscoverDomainsCount + " + + MinutesMustBeBetween0And1439 + " + + DeleteInvalidForUnsavedUserConfiguration + " + + PeriodNotFound + " + + InvalidAutodiscoverSmtpAddress + " + + InvalidOAuthToken + " + + MaxScpHopsExceeded + " + + ContactGroupMemberCannotBeUpdatedWithoutBeingLoadedFirst + " + + CurrentPositionNotElementStart + " + + CannotConvertBetweenTimeZones + " + + FrequencyMustBeBetween1And1440 + " + + CannotSetDelegateFolderPermissionLevelToCustom + " + + PartnerTokenIncompatibleWithRequestVersion + " + + InvalidAutodiscoverRequest + " + + InvalidAsyncResult + " + + InvalidMailboxType + " + + AttachmentCollectionNotLoaded + " + + ParameterIncompatibleWithRequestVersion + " + + DayOfWeekIndexMustBeSpecifiedForRecurrencePattern + " + + WLIDCredentialsCannotBeUsedWithLegacyAutodiscover + " + + PropertyCannotBeUpdated + " + + IncompatibleTypeForArray + " + + PercentCompleteMustBeBetween0And100 + " + + AutodiscoverServiceIncompatibleWithRequestVersion + " + + InvalidAutodiscoverSmtpAddressesCount + " + + ServiceUrlMustBeSet + " + + ItemTypeNotCompatible + " + + AttachmentItemTypeMismatch + " + + UnsupportedWebProtocol + " + + EnumValueIncompatibleWithRequestVersion + " + + UnexpectedElement + " + + InvalidOrderBy + " + + NoAppropriateConstructorForItemClass + " + + SearchFilterAtIndexIsInvalid + " + + DeletingThisObjectTypeNotAuthorized + " + + PropertyCannotBeDeleted + " + + ValuePropertyMustBeSet + " + + TagValueIsOutOfRange + " + + ItemToUpdateCannotBeNullOrNew + " + + SearchParametersRootFolderIdsEmpty + " + + MailboxQueriesParameterIsNotSpecified + " + + FolderPermissionHasInvalidUserId + " + + InvalidAutodiscoverDomain + " + + MailboxesParameterIsNotSpecified + " + + ParentFolderDoesNotHaveId + " + + DayOfMonthMustBeSpecifiedForRecurrencePattern + " + + ClassIncompatibleWithRequestVersion + " + + CertificateHasNoPrivateKey + " + + InvalidOrUnsupportedTimeZoneDefinition + " + + HourMustBeBetween0And23 + " + + TimeoutMustBeBetween1And1440 + " + + CredentialsRequired + " + + MustLoadOrAssignPropertyBeforeAccess + " + + InvalidAutodiscoverServiceResponse + " + + CannotCallConnectDuringLiveConnection + " + + ObjectDoesNotHaveId + " + + CannotAddSubscriptionToLiveConnection + " + + MaxChangesMustBeBetween1And512 + " + + AttributeValueCannotBeSerialized + " + + NumberOfDaysMustBePositive + " + + SearchFilterMustBeSet + " + + EndDateMustBeGreaterThanStartDate + " + + InvalidDateTime + " + + UpdateItemsDoesNotAllowAttachments + " + + TimeoutMustBeGreaterThanZero + " + + AutodiscoverInvalidSettingForOutlookProvider + " + + InvalidRedirectionResponseReturned + " + + ExpectedStartElement + " + + DaysOfTheWeekNotSpecified + " + + FolderToUpdateCannotBeNullOrNew + " + + PartnerTokenRequestRequiresUrl + " + + NumberOfOccurrencesMustBeGreaterThanZero + " + + JsonSerializationNotImplemented + " + + StartTimeZoneRequired + " + + PropertyAlreadyExistsInOrderByCollection + " + + ItemAttachmentMustBeNamed + " + + InvalidAutodiscoverSettingsCount + " + + LoadingThisObjectTypeNotSupported + " + + UserIdForDelegateUserNotSpecified + " + + PhoneCallAlreadyDisconnected + " + + OperationDoesNotSupportAttachments + " + + UnsupportedTimeZonePeriodTransitionTarget + " + + IEnumerableDoesNotContainThatManyObject + " + + UpdateItemsDoesNotSupportNewOrUnchangedItems + " + + ValidationFailed + " + + InvalidRecurrencePattern + " + + TimeWindowStartTimeMustBeGreaterThanEndTime + " + + InvalidAttributeValue + " + + FileAttachmentContentIsNotSet + " + + AutodiscoverDidNotReturnEwsUrl + " + + RecurrencePatternMustHaveStartDate + " + + OccurrenceIndexMustBeGreaterThanZero + " + + ServiceResponseDoesNotContainXml + " + + ItemIsOutOfDate + " + + MinuteMustBeBetween0And59 + " + + NoSoapOrWsSecurityEndpointAvailable + " + + ElementNotFound + " + + IndexIsOutOfRange + " + + PropertyIsReadOnly + " + + AttachmentCreationFailed + " + + DayOfMonthMustBeBetween1And31 + " + + ServiceRequestFailed + " + + DelegateUserHasInvalidUserId + " + + SearchFilterComparisonValueTypeIsNotSupported + " + + ElementValueCannotBeSerialized + " + + PropertyValueMustBeSpecifiedForRecurrencePattern + " + + NonSummaryPropertyCannotBeUsed + " + + HoldIdParameterIsNotSpecified + " + + TransitionGroupNotFound + " + + ObjectTypeNotSupported + " + + InvalidTimeoutValue + " + + AutodiscoverRedirectBlocked + " + + PropertySetCannotBeModified + " + + DayOfTheWeekMustBeSpecifiedForRecurrencePattern + " + + ServiceObjectAlreadyHasId + " + + MethodIncompatibleWithRequestVersion + " + + OperationNotSupportedForPropertyDefinitionType + " + + InvalidElementStringValue + " + + CollectionIsEmpty + " + + InvalidFrequencyValue + " + + UnexpectedEndOfXmlDocument + " + + FolderTypeNotCompatible + " + + RequestIncompatibleWithRequestVersion + " + + PropertyTypeIncompatibleWhenUpdatingCollection + " + + ServerVersionNotSupported + " + + DurationMustBeSpecifiedWhenScheduled + " + + NoError + " + + CannotUpdateNewUserConfiguration + " + + ObjectTypeIncompatibleWithRequestVersion + " + + NullStringArrayElementInvalid + " + + HttpsIsRequired + " + + MergedFreeBusyIntervalMustBeSmallerThanTimeWindow + " + + SecondMustBeBetween0And59 + " + + AtLeastOneAttachmentCouldNotBeDeleted + " + + IdAlreadyInList + " + + BothSearchFilterAndQueryStringCannotBeSpecified + " + + AdditionalPropertyIsNull + " + + InvalidEmailAddress + " + + MaximumRedirectionHopsExceeded + " + + AutodiscoverCouldNotBeLocated + " + + NoSubscriptionsOnConnection + " + + PermissionLevelInvalidForNonCalendarFolder + " + + InvalidAuthScheme + " + + JsonDeserializationNotImplemented + " + + ValuePropertyNotLoaded + " + + PropertyIncompatibleWithRequestVersion + " + + OffsetMustBeGreaterThanZero + " + + CreateItemsDoesNotAllowAttachments + " + + PropertyDefinitionTypeMismatch + " + + IntervalMustBeGreaterOrEqualToOne + " + + CannotSetPermissionLevelToCustom + " + + CannotAddRequestHeader + " + + ArrayMustHaveAtLeastOneElement + " + + MonthMustBeSpecifiedForRecurrencePattern + " + + ValueOfTypeCannotBeConverted + " + + ValueCannotBeConverted + " + + ServerErrorAndStackTraceDetails + " + + FolderPermissionLevelMustBeSet + " + + AutodiscoverError + " + + ArrayMustHaveSingleDimension + " + + InvalidPropertyValueNotInRange + " + + RegenerationPatternsOnlyValidForTasks + " + + ItemAttachmentCannotBeUpdated + " + + EqualityComparisonFilterIsInvalid + " + + AutodiscoverServiceRequestRequiresDomainOrUrl + " + + InvalidUser + " + + AccountIsLocked + " + + InvalidDomainName + " + + TooFewServiceReponsesReturned + " + + CannotSubscribeToStatusEvents + " + + InvalidSortByPropertyForMailboxSearch + " + + UnexpectedElementType + " + + ValueMustBeGreaterThanZero + " + + AttachmentCannotBeUpdated + " + + CreateItemsDoesNotHandleExistingItems + " + + MultipleContactPhotosInAttachment + " + + InvalidRecurrenceRange + " + + CannotSetBothImpersonatedAndPrivilegedUser + " + + NewMessagesWithAttachmentsCannotBeSentDirectly + " + + CannotCallDisconnectWithNoLiveConnection + " + + IdPropertyMustBeSet + " + + ValuePropertyNotAssigned + " + + ZeroLengthArrayInvalid + " + + HoldMailboxesParameterIsNotSpecified + " + + CannotSaveNotNewUserConfiguration + " + + ServiceObjectDoesNotHaveId + " + + PropertyCollectionSizeMismatch + " + + XsDurationCouldNotBeParsed + " + + UnknownTimeZonePeriodTransitionType + " + \ No newline at end of file From 276fa1bb70a2db27d1dcfc9c8c0c22b2e4e6341e Mon Sep 17 00:00:00 2001 From: Richard Perry Date: Thu, 2 Mar 2017 17:54:03 +0000 Subject: [PATCH 2/4] Add All Contacts to Well Know folder names --- Enumerations/WellKnownFolderName.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Enumerations/WellKnownFolderName.cs b/Enumerations/WellKnownFolderName.cs index e5c99810..ebc870b3 100644 --- a/Enumerations/WellKnownFolderName.cs +++ b/Enumerations/WellKnownFolderName.cs @@ -344,6 +344,12 @@ public enum WellKnownFolderName [RequiredServerVersion(ExchangeVersion.Exchange2013)] [EwsEnum("workingset")] WorkingSet, + + // All Contacts Folder + + [RequiredServerVersion(ExchangeVersion.Exchange2013)] + [EwsEnum("allcontacts")] + AllContacts, //// Note when you adding new folder id here, please update sources\test\Services\src\ComponentTests\GlobalVersioningControl.cs //// IsExchange2013Folder method accordingly. } From 306598fd752b0a69e26cd8c76e973e0be37346a8 Mon Sep 17 00:00:00 2001 From: Richard Perry Date: Thu, 2 Mar 2017 18:27:53 +0000 Subject: [PATCH 3/4] Remove JSON support and add xml comments. --- Core/ExchangeService.cs | 12 +++++++++-- Core/Requests/ExportItemsRequest.cs | 13 ++---------- Core/Responses/ExportItemsResponse.cs | 15 +++++++++----- Core/Responses/UploadItemsResponse.cs | 6 ++++++ Core/ServiceObjects/Items/UploadItem.cs | 23 +++++++++++++++++++-- Core/ServiceObjects/Schemas/UploadSchema.cs | 14 ++++++++++++- Core/XmlElementNames.cs | 1 - Enumerations/CreateAction.cs | 11 ++++++++++ Enumerations/WellKnownFolderName.cs | 7 ++++--- 9 files changed, 77 insertions(+), 25 deletions(-) diff --git a/Core/ExchangeService.cs b/Core/ExchangeService.cs index 3d4c861d..1d7449f5 100644 --- a/Core/ExchangeService.cs +++ b/Core/ExchangeService.cs @@ -1529,7 +1529,11 @@ public ServiceResponseCollection MarkAsJunk(IEnumerable + /// Export items from exchange + /// + /// The ids of the items to be exported. + /// public ServiceResponseCollection ExportItems(IEnumerable itemIds) { ExportItemsRequest request = new ExportItemsRequest(this, ServiceErrorHandling.ReturnErrors); @@ -5848,7 +5852,11 @@ internal string TargetServerVersion } #endregion - + /// + /// Upload items to Exchange + /// + /// The item to Upload + /// public UploadItemsResponse UploadItem(UploadItem item) { UploadItemsRequest request = new UploadItemsRequest(this, ServiceErrorHandling.ReturnErrors); diff --git a/Core/Requests/ExportItemsRequest.cs b/Core/Requests/ExportItemsRequest.cs index ce5be3d5..3becfcdd 100644 --- a/Core/Requests/ExportItemsRequest.cs +++ b/Core/Requests/ExportItemsRequest.cs @@ -5,7 +5,7 @@ namespace Microsoft.Exchange.WebServices.Data { - internal class ExportItemsRequest: MultiResponseServiceRequest, IJsonSerializable + internal class ExportItemsRequest: MultiResponseServiceRequest { private ItemIdWrapperList itemIds = new ItemIdWrapperList(); @@ -53,15 +53,6 @@ internal override void WriteElementsToXml(EwsServiceXmlWriter writer) public ItemIdWrapperList ItemIds { get { return this.itemIds; } - } - - public object ToJson(ExchangeService service) - { - JsonObject request = new JsonObject(); - - request.Add(XmlElementNames.ItemIds, this.itemIds.InternalToJson(service)); - - return request; - } + } } } diff --git a/Core/Responses/ExportItemsResponse.cs b/Core/Responses/ExportItemsResponse.cs index 08f5dd86..4b3dd8b7 100644 --- a/Core/Responses/ExportItemsResponse.cs +++ b/Core/Responses/ExportItemsResponse.cs @@ -5,6 +5,9 @@ namespace Microsoft.Exchange.WebServices.Data { + /// + /// Represents the response from an Export Items Request + /// public class ExportItemsResponse : ServiceResponse { private ItemId itemId = new ItemId(); @@ -27,11 +30,10 @@ internal override void ReadElementsFromXml(EwsServiceXmlReader reader) } data = reader.ReadBase64ElementValue(); } - - internal override void ReadElementsFromJson(JsonObject responseObject, ExchangeService service) - { - base.ReadElementsFromJson(responseObject, service); - } + + /// + /// ItemId of the item exported. + /// public ItemId ItemId { @@ -41,6 +43,9 @@ public ItemId ItemId } } + /// + /// Field containing the item exported. + /// public byte[] Data { get diff --git a/Core/Responses/UploadItemsResponse.cs b/Core/Responses/UploadItemsResponse.cs index 6f5c3fd6..a00c8c78 100644 --- a/Core/Responses/UploadItemsResponse.cs +++ b/Core/Responses/UploadItemsResponse.cs @@ -5,6 +5,9 @@ namespace Microsoft.Exchange.WebServices.Data { + /// + /// Reponse of the Upload items operation. + /// public class UploadItemsResponse : ServiceResponse { private ItemId itemId = new ItemId(); @@ -21,6 +24,9 @@ internal override void ReadElementsFromXml(EwsServiceXmlReader reader) itemId.LoadFromXml(reader, XmlNamespace.Messages, XmlElementNames.ItemId); } + /// + /// Id of the item uploaded + /// public ItemId Id { get { return itemId; } diff --git a/Core/ServiceObjects/Items/UploadItem.cs b/Core/ServiceObjects/Items/UploadItem.cs index 4a836858..14e2efdb 100644 --- a/Core/ServiceObjects/Items/UploadItem.cs +++ b/Core/ServiceObjects/Items/UploadItem.cs @@ -5,8 +5,15 @@ namespace Microsoft.Exchange.WebServices.Data { + /// + /// Represents and item to be uploaded to exchange. + /// public class UploadItem : ServiceObject { + /// + /// The default contructor for UploadItem + /// + /// The exchange service this item is related to. public UploadItem(ExchangeService service) : base(service) { } internal override ServiceObjectSchema GetSchema() @@ -34,24 +41,36 @@ internal override PropertyDefinition GetIdPropertyDefinition() return UploadSchema.Id; } + /// + /// The Id of the item to upload + /// public ItemId Id { get { return (ItemId)this.PropertyBag[GetIdPropertyDefinition()]; } set { this.PropertyBag[GetIdPropertyDefinition()] = value; } } + /// + /// The id of the folder to upload the item to. + /// public FolderId ParentFolderId { get { return (FolderId)this.PropertyBag[UploadSchema.ParentFolderId]; } set { this.PropertyBag[UploadSchema.ParentFolderId] = value; } } + /// + /// The data of the item. + /// public byte[] Data { get { return (byte[])this.PropertyBag[UploadSchema.Data]; } set { this.PropertyBag[UploadSchema.Data] = value; } - } - + } + + /// + /// The action to take for the uploaded item. + /// public CreateAction CreateAction { get; set; } } } diff --git a/Core/ServiceObjects/Schemas/UploadSchema.cs b/Core/ServiceObjects/Schemas/UploadSchema.cs index c6fa8f3f..3ab431a3 100644 --- a/Core/ServiceObjects/Schemas/UploadSchema.cs +++ b/Core/ServiceObjects/Schemas/UploadSchema.cs @@ -5,6 +5,9 @@ namespace Microsoft.Exchange.WebServices.Data { + /// + /// Upload Schema + /// [Schema] public class UploadSchema : ServiceObjectSchema { @@ -15,6 +18,10 @@ private static class FieldUris public const string Data = "upload:Data"; } + + /// + /// Defines the uploads id property + /// public static readonly PropertyDefinition Id = new ComplexPropertyDefinition( XmlElementNames.ItemId, FieldUris.ItemId, @@ -22,7 +29,9 @@ private static class FieldUris ExchangeVersion.Exchange2010, delegate() { return new ItemId(); } ); - + /// + /// Defines the uploads ParentFolderId property. + /// public static readonly PropertyDefinition ParentFolderId = new ComplexPropertyDefinition( XmlElementNames.ParentFolderId, FieldUris.ParentFolderId, @@ -31,6 +40,9 @@ private static class FieldUris delegate() { return new FolderId(); } ); + /// + /// Defines the data property. + /// public static readonly PropertyDefinition Data = new ByteArrayPropertyDefinition( XmlElementNames.Data, FieldUris.Data, diff --git a/Core/XmlElementNames.cs b/Core/XmlElementNames.cs index 033f433a..26eabfec 100644 --- a/Core/XmlElementNames.cs +++ b/Core/XmlElementNames.cs @@ -1342,7 +1342,6 @@ internal static class XmlElementNames public const string ExportItems = "ExportItems"; public const string ExportItemsResponse = "ExportItemsResponse"; public const string ExportItemsResponseMessage = "ExportItemsResponseMessage"; - public const string Data = "Data"; // Upload Items diff --git a/Enumerations/CreateAction.cs b/Enumerations/CreateAction.cs index 3ace915a..7c77620f 100644 --- a/Enumerations/CreateAction.cs +++ b/Enumerations/CreateAction.cs @@ -5,9 +5,20 @@ namespace Microsoft.Exchange.WebServices.Data { + /// + /// The action to perform when the item is uploaded. + /// public enum CreateAction { + /// + /// Create a new item + /// CreateNew, + + /// + /// Update the item if it already exists + /// + Update } } diff --git a/Enumerations/WellKnownFolderName.cs b/Enumerations/WellKnownFolderName.cs index ebc870b3..35a19bad 100644 --- a/Enumerations/WellKnownFolderName.cs +++ b/Enumerations/WellKnownFolderName.cs @@ -344,9 +344,10 @@ public enum WellKnownFolderName [RequiredServerVersion(ExchangeVersion.Exchange2013)] [EwsEnum("workingset")] WorkingSet, - - // All Contacts Folder - + + /// + /// All Contacts Folder + /// [RequiredServerVersion(ExchangeVersion.Exchange2013)] [EwsEnum("allcontacts")] AllContacts, From c3c877ba8c05160d72e92ecf0b49a885b7106b85 Mon Sep 17 00:00:00 2001 From: Richard Perry Date: Tue, 17 Jul 2018 11:03:39 +0100 Subject: [PATCH 4/4] Added return description --- .gitignore | 3 ++- Core/ExchangeService.cs | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 20938efd..fc97a30f 100644 --- a/.gitignore +++ b/.gitignore @@ -181,4 +181,5 @@ UpgradeLog*.htm *.bim_*.settings # Microsoft Fakes -FakesAssemblies/ \ No newline at end of file +FakesAssemblies/ +/.vs diff --git a/Core/ExchangeService.cs b/Core/ExchangeService.cs index 1d7449f5..9f232db9 100644 --- a/Core/ExchangeService.cs +++ b/Core/ExchangeService.cs @@ -5856,7 +5856,7 @@ internal string TargetServerVersion /// Upload items to Exchange /// /// The item to Upload - /// + /// An UploadItemsResponse for the requested UploadItem public UploadItemsResponse UploadItem(UploadItem item) { UploadItemsRequest request = new UploadItemsRequest(this, ServiceErrorHandling.ReturnErrors);