//------------------------------------------------------------------------------ // // This code was generated by a tool. // Runtime Version:2.0.50727.4952 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // //------------------------------------------------------------------------------ // // This source code was auto-generated by wsdl, Version=2.0.50727.42. // namespace WebsitePanel.Providers.ExchangeHostedEdition { using System.Xml.Serialization; using System.Web.Services; using System.ComponentModel; using System.Web.Services.Protocols; using System; using System.Diagnostics; /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Web.Services.WebServiceBindingAttribute(Name="ExchangeServerHostedEditionSoap", Namespace="http://smbsaas/websitepanel/server/")] [System.Xml.Serialization.XmlIncludeAttribute(typeof(ServiceProviderItem))] public partial class ExchangeServerHostedEdition : Microsoft.Web.Services3.WebServicesClientProtocol { public ServiceProviderSettingsSoapHeader ServiceProviderSettingsSoapHeaderValue; private System.Threading.SendOrPostCallback CreateOrganizationOperationCompleted; private System.Threading.SendOrPostCallback GetOrganizationDomainsOperationCompleted; private System.Threading.SendOrPostCallback AddOrganizationDomainOperationCompleted; private System.Threading.SendOrPostCallback DeleteOrganizationDomainOperationCompleted; private System.Threading.SendOrPostCallback GetOrganizationDetailsOperationCompleted; private System.Threading.SendOrPostCallback UpdateOrganizationQuotasOperationCompleted; private System.Threading.SendOrPostCallback UpdateOrganizationCatchAllAddressOperationCompleted; private System.Threading.SendOrPostCallback UpdateOrganizationServicePlanOperationCompleted; private System.Threading.SendOrPostCallback DeleteOrganizationOperationCompleted; /// public ExchangeServerHostedEdition() { this.Url = "http://localhost:9003/ExchangeServerHostedEdition.asmx"; } /// public event CreateOrganizationCompletedEventHandler CreateOrganizationCompleted; /// public event GetOrganizationDomainsCompletedEventHandler GetOrganizationDomainsCompleted; /// public event AddOrganizationDomainCompletedEventHandler AddOrganizationDomainCompleted; /// public event DeleteOrganizationDomainCompletedEventHandler DeleteOrganizationDomainCompleted; /// public event GetOrganizationDetailsCompletedEventHandler GetOrganizationDetailsCompleted; /// public event UpdateOrganizationQuotasCompletedEventHandler UpdateOrganizationQuotasCompleted; /// public event UpdateOrganizationCatchAllAddressCompletedEventHandler UpdateOrganizationCatchAllAddressCompleted; /// public event UpdateOrganizationServicePlanCompletedEventHandler UpdateOrganizationServicePlanCompleted; /// public event DeleteOrganizationCompletedEventHandler DeleteOrganizationCompleted; /// [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/CreateOrganization", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] public void CreateOrganization(string organizationId, string programId, string offerId, string domain, string adminName, string adminEmail, string adminPassword) { this.Invoke("CreateOrganization", new object[] { organizationId, programId, offerId, domain, adminName, adminEmail, adminPassword}); } /// public System.IAsyncResult BeginCreateOrganization(string organizationId, string programId, string offerId, string domain, string adminName, string adminEmail, string adminPassword, System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("CreateOrganization", new object[] { organizationId, programId, offerId, domain, adminName, adminEmail, adminPassword}, callback, asyncState); } /// public void EndCreateOrganization(System.IAsyncResult asyncResult) { this.EndInvoke(asyncResult); } /// public void CreateOrganizationAsync(string organizationId, string programId, string offerId, string domain, string adminName, string adminEmail, string adminPassword) { this.CreateOrganizationAsync(organizationId, programId, offerId, domain, adminName, adminEmail, adminPassword, null); } /// public void CreateOrganizationAsync(string organizationId, string programId, string offerId, string domain, string adminName, string adminEmail, string adminPassword, object userState) { if ((this.CreateOrganizationOperationCompleted == null)) { this.CreateOrganizationOperationCompleted = new System.Threading.SendOrPostCallback(this.OnCreateOrganizationOperationCompleted); } this.InvokeAsync("CreateOrganization", new object[] { organizationId, programId, offerId, domain, adminName, adminEmail, adminPassword}, this.CreateOrganizationOperationCompleted, userState); } private void OnCreateOrganizationOperationCompleted(object arg) { if ((this.CreateOrganizationCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.CreateOrganizationCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } /// [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GetOrganizationDomains", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] public ExchangeOrganizationDomain[] GetOrganizationDomains(string organizationId) { object[] results = this.Invoke("GetOrganizationDomains", new object[] { organizationId}); return ((ExchangeOrganizationDomain[])(results[0])); } /// public System.IAsyncResult BeginGetOrganizationDomains(string organizationId, System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("GetOrganizationDomains", new object[] { organizationId}, callback, asyncState); } /// public ExchangeOrganizationDomain[] EndGetOrganizationDomains(System.IAsyncResult asyncResult) { object[] results = this.EndInvoke(asyncResult); return ((ExchangeOrganizationDomain[])(results[0])); } /// public void GetOrganizationDomainsAsync(string organizationId) { this.GetOrganizationDomainsAsync(organizationId, null); } /// public void GetOrganizationDomainsAsync(string organizationId, object userState) { if ((this.GetOrganizationDomainsOperationCompleted == null)) { this.GetOrganizationDomainsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetOrganizationDomainsOperationCompleted); } this.InvokeAsync("GetOrganizationDomains", new object[] { organizationId}, this.GetOrganizationDomainsOperationCompleted, userState); } private void OnGetOrganizationDomainsOperationCompleted(object arg) { if ((this.GetOrganizationDomainsCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.GetOrganizationDomainsCompleted(this, new GetOrganizationDomainsCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } /// [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/AddOrganizationDomain", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] public void AddOrganizationDomain(string organizationId, string domain) { this.Invoke("AddOrganizationDomain", new object[] { organizationId, domain}); } /// public System.IAsyncResult BeginAddOrganizationDomain(string organizationId, string domain, System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("AddOrganizationDomain", new object[] { organizationId, domain}, callback, asyncState); } /// public void EndAddOrganizationDomain(System.IAsyncResult asyncResult) { this.EndInvoke(asyncResult); } /// public void AddOrganizationDomainAsync(string organizationId, string domain) { this.AddOrganizationDomainAsync(organizationId, domain, null); } /// public void AddOrganizationDomainAsync(string organizationId, string domain, object userState) { if ((this.AddOrganizationDomainOperationCompleted == null)) { this.AddOrganizationDomainOperationCompleted = new System.Threading.SendOrPostCallback(this.OnAddOrganizationDomainOperationCompleted); } this.InvokeAsync("AddOrganizationDomain", new object[] { organizationId, domain}, this.AddOrganizationDomainOperationCompleted, userState); } private void OnAddOrganizationDomainOperationCompleted(object arg) { if ((this.AddOrganizationDomainCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.AddOrganizationDomainCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } /// [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/DeleteOrganizationDomain", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] public void DeleteOrganizationDomain(string organizationId, string domain) { this.Invoke("DeleteOrganizationDomain", new object[] { organizationId, domain}); } /// public System.IAsyncResult BeginDeleteOrganizationDomain(string organizationId, string domain, System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("DeleteOrganizationDomain", new object[] { organizationId, domain}, callback, asyncState); } /// public void EndDeleteOrganizationDomain(System.IAsyncResult asyncResult) { this.EndInvoke(asyncResult); } /// public void DeleteOrganizationDomainAsync(string organizationId, string domain) { this.DeleteOrganizationDomainAsync(organizationId, domain, null); } /// public void DeleteOrganizationDomainAsync(string organizationId, string domain, object userState) { if ((this.DeleteOrganizationDomainOperationCompleted == null)) { this.DeleteOrganizationDomainOperationCompleted = new System.Threading.SendOrPostCallback(this.OnDeleteOrganizationDomainOperationCompleted); } this.InvokeAsync("DeleteOrganizationDomain", new object[] { organizationId, domain}, this.DeleteOrganizationDomainOperationCompleted, userState); } private void OnDeleteOrganizationDomainOperationCompleted(object arg) { if ((this.DeleteOrganizationDomainCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.DeleteOrganizationDomainCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } /// [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GetOrganizationDetails", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] public ExchangeOrganization GetOrganizationDetails(string organizationId) { object[] results = this.Invoke("GetOrganizationDetails", new object[] { organizationId}); return ((ExchangeOrganization)(results[0])); } /// public System.IAsyncResult BeginGetOrganizationDetails(string organizationId, System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("GetOrganizationDetails", new object[] { organizationId}, callback, asyncState); } /// public ExchangeOrganization EndGetOrganizationDetails(System.IAsyncResult asyncResult) { object[] results = this.EndInvoke(asyncResult); return ((ExchangeOrganization)(results[0])); } /// public void GetOrganizationDetailsAsync(string organizationId) { this.GetOrganizationDetailsAsync(organizationId, null); } /// public void GetOrganizationDetailsAsync(string organizationId, object userState) { if ((this.GetOrganizationDetailsOperationCompleted == null)) { this.GetOrganizationDetailsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetOrganizationDetailsOperationCompleted); } this.InvokeAsync("GetOrganizationDetails", new object[] { organizationId}, this.GetOrganizationDetailsOperationCompleted, userState); } private void OnGetOrganizationDetailsOperationCompleted(object arg) { if ((this.GetOrganizationDetailsCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.GetOrganizationDetailsCompleted(this, new GetOrganizationDetailsCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } /// [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/UpdateOrganizationQuotas", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] public void UpdateOrganizationQuotas(string organizationId, int mailboxesNumber, int contactsNumber, int distributionListsNumber) { this.Invoke("UpdateOrganizationQuotas", new object[] { organizationId, mailboxesNumber, contactsNumber, distributionListsNumber}); } /// public System.IAsyncResult BeginUpdateOrganizationQuotas(string organizationId, int mailboxesNumber, int contactsNumber, int distributionListsNumber, System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("UpdateOrganizationQuotas", new object[] { organizationId, mailboxesNumber, contactsNumber, distributionListsNumber}, callback, asyncState); } /// public void EndUpdateOrganizationQuotas(System.IAsyncResult asyncResult) { this.EndInvoke(asyncResult); } /// public void UpdateOrganizationQuotasAsync(string organizationId, int mailboxesNumber, int contactsNumber, int distributionListsNumber) { this.UpdateOrganizationQuotasAsync(organizationId, mailboxesNumber, contactsNumber, distributionListsNumber, null); } /// public void UpdateOrganizationQuotasAsync(string organizationId, int mailboxesNumber, int contactsNumber, int distributionListsNumber, object userState) { if ((this.UpdateOrganizationQuotasOperationCompleted == null)) { this.UpdateOrganizationQuotasOperationCompleted = new System.Threading.SendOrPostCallback(this.OnUpdateOrganizationQuotasOperationCompleted); } this.InvokeAsync("UpdateOrganizationQuotas", new object[] { organizationId, mailboxesNumber, contactsNumber, distributionListsNumber}, this.UpdateOrganizationQuotasOperationCompleted, userState); } private void OnUpdateOrganizationQuotasOperationCompleted(object arg) { if ((this.UpdateOrganizationQuotasCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.UpdateOrganizationQuotasCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } /// [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/UpdateOrganizationCatchAllAddress", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] public void UpdateOrganizationCatchAllAddress(string organizationId, string catchAllEmail) { this.Invoke("UpdateOrganizationCatchAllAddress", new object[] { organizationId, catchAllEmail}); } /// public System.IAsyncResult BeginUpdateOrganizationCatchAllAddress(string organizationId, string catchAllEmail, System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("UpdateOrganizationCatchAllAddress", new object[] { organizationId, catchAllEmail}, callback, asyncState); } /// public void EndUpdateOrganizationCatchAllAddress(System.IAsyncResult asyncResult) { this.EndInvoke(asyncResult); } /// public void UpdateOrganizationCatchAllAddressAsync(string organizationId, string catchAllEmail) { this.UpdateOrganizationCatchAllAddressAsync(organizationId, catchAllEmail, null); } /// public void UpdateOrganizationCatchAllAddressAsync(string organizationId, string catchAllEmail, object userState) { if ((this.UpdateOrganizationCatchAllAddressOperationCompleted == null)) { this.UpdateOrganizationCatchAllAddressOperationCompleted = new System.Threading.SendOrPostCallback(this.OnUpdateOrganizationCatchAllAddressOperationCompleted); } this.InvokeAsync("UpdateOrganizationCatchAllAddress", new object[] { organizationId, catchAllEmail}, this.UpdateOrganizationCatchAllAddressOperationCompleted, userState); } private void OnUpdateOrganizationCatchAllAddressOperationCompleted(object arg) { if ((this.UpdateOrganizationCatchAllAddressCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.UpdateOrganizationCatchAllAddressCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } /// [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/UpdateOrganizationServicePlan", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] public void UpdateOrganizationServicePlan(string organizationId, string programId, string offerId) { this.Invoke("UpdateOrganizationServicePlan", new object[] { organizationId, programId, offerId}); } /// public System.IAsyncResult BeginUpdateOrganizationServicePlan(string organizationId, string programId, string offerId, System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("UpdateOrganizationServicePlan", new object[] { organizationId, programId, offerId}, callback, asyncState); } /// public void EndUpdateOrganizationServicePlan(System.IAsyncResult asyncResult) { this.EndInvoke(asyncResult); } /// public void UpdateOrganizationServicePlanAsync(string organizationId, string programId, string offerId) { this.UpdateOrganizationServicePlanAsync(organizationId, programId, offerId, null); } /// public void UpdateOrganizationServicePlanAsync(string organizationId, string programId, string offerId, object userState) { if ((this.UpdateOrganizationServicePlanOperationCompleted == null)) { this.UpdateOrganizationServicePlanOperationCompleted = new System.Threading.SendOrPostCallback(this.OnUpdateOrganizationServicePlanOperationCompleted); } this.InvokeAsync("UpdateOrganizationServicePlan", new object[] { organizationId, programId, offerId}, this.UpdateOrganizationServicePlanOperationCompleted, userState); } private void OnUpdateOrganizationServicePlanOperationCompleted(object arg) { if ((this.UpdateOrganizationServicePlanCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.UpdateOrganizationServicePlanCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } /// [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/DeleteOrganization", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] public void DeleteOrganization(string organizationId) { this.Invoke("DeleteOrganization", new object[] { organizationId}); } /// public System.IAsyncResult BeginDeleteOrganization(string organizationId, System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("DeleteOrganization", new object[] { organizationId}, callback, asyncState); } /// public void EndDeleteOrganization(System.IAsyncResult asyncResult) { this.EndInvoke(asyncResult); } /// public void DeleteOrganizationAsync(string organizationId) { this.DeleteOrganizationAsync(organizationId, null); } /// public void DeleteOrganizationAsync(string organizationId, object userState) { if ((this.DeleteOrganizationOperationCompleted == null)) { this.DeleteOrganizationOperationCompleted = new System.Threading.SendOrPostCallback(this.OnDeleteOrganizationOperationCompleted); } this.InvokeAsync("DeleteOrganization", new object[] { organizationId}, this.DeleteOrganizationOperationCompleted, userState); } private void OnDeleteOrganizationOperationCompleted(object arg) { if ((this.DeleteOrganizationCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.DeleteOrganizationCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } /// public new void CancelAsync(object userState) { base.CancelAsync(userState); } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] public delegate void CreateOrganizationCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] public delegate void GetOrganizationDomainsCompletedEventHandler(object sender, GetOrganizationDomainsCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] public partial class GetOrganizationDomainsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { private object[] results; internal GetOrganizationDomainsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : base(exception, cancelled, userState) { this.results = results; } /// public ExchangeOrganizationDomain[] Result { get { this.RaiseExceptionIfNecessary(); return ((ExchangeOrganizationDomain[])(this.results[0])); } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] public delegate void AddOrganizationDomainCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] public delegate void DeleteOrganizationDomainCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] public delegate void GetOrganizationDetailsCompletedEventHandler(object sender, GetOrganizationDetailsCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] public partial class GetOrganizationDetailsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { private object[] results; internal GetOrganizationDetailsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : base(exception, cancelled, userState) { this.results = results; } /// public ExchangeOrganization Result { get { this.RaiseExceptionIfNecessary(); return ((ExchangeOrganization)(this.results[0])); } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] public delegate void UpdateOrganizationQuotasCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] public delegate void UpdateOrganizationCatchAllAddressCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] public delegate void UpdateOrganizationServicePlanCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] public delegate void DeleteOrganizationCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); }