// Copyright (c) 2012, Outercurve Foundation. // All rights reserved. // // Redistribution and use in source and binary forms, with or without modification, // are permitted provided that the following conditions are met: // // - Redistributions of source code must retain the above copyright notice, this // list of conditions and the following disclaimer. // // - Redistributions in binary form must reproduce the above copyright notice, // this list of conditions and the following disclaimer in the documentation // and/or other materials provided with the distribution. // // - Neither the name of the Outercurve Foundation nor the names of its // contributors may be used to endorse or promote products derived from this // software without specific prior written permission. // // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED // WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE // DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR // ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES // (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; // LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON // ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS // SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. //------------------------------------------------------------------------------ // // This code was generated by a tool. // Runtime Version:2.0.50727.1873 // // 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.1432. // namespace WebsitePanel.EnterpriseServer { using System.Diagnostics; using System.Web.Services; using System.ComponentModel; using System.Web.Services.Protocols; using System; using System.Xml.Serialization; using WebsitePanel.Providers.ResultObjects; using WebsitePanel.Providers.WebAppGallery; using WebsitePanel.Providers.Common; /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Web.Services.WebServiceBindingAttribute(Name="esWebApplicationGallerySoap", Namespace="http://tempuri.org/")] [System.Xml.Serialization.XmlIncludeAttribute(typeof(ResultObject))] public partial class esWebApplicationGallery : Microsoft.Web.Services3.WebServicesClientProtocol { private System.Threading.SendOrPostCallback InitFeedsOperationCompleted; private System.Threading.SendOrPostCallback SetResourceLanguageOperationCompleted; private System.Threading.SendOrPostCallback GetGalleryLanguagesOperationCompleted; private System.Threading.SendOrPostCallback GetGalleryApplicationsByServiceIdOperationCompleted; private System.Threading.SendOrPostCallback GetGalleryApplicationsOperationCompleted; private System.Threading.SendOrPostCallback GetGalleryApplicationsFilteredOperationCompleted; private System.Threading.SendOrPostCallback GetGalleryCategoriesOperationCompleted; private System.Threading.SendOrPostCallback GetGalleryApplicationDetailsOperationCompleted; private System.Threading.SendOrPostCallback GetGalleryApplicationParamsOperationCompleted; private System.Threading.SendOrPostCallback InstallOperationCompleted; private System.Threading.SendOrPostCallback GetGalleryApplicationStatusOperationCompleted; /// public esWebApplicationGallery() { this.Url = "http://localhost:9002/esWebApplicationGallery.asmx"; } /// public event InitFeedsCompletedEventHandler InitFeedsCompleted; /// public event SetResourceLanguageCompletedEventHandler SetResourceLanguageCompleted; /// public event GetGalleryLanguagesCompletedEventHandler GetGalleryLanguagesCompleted; /// public event GetGalleryApplicationsByServiceIdCompletedEventHandler GetGalleryApplicationsByServiceIdCompleted; /// public event GetGalleryApplicationsCompletedEventHandler GetGalleryApplicationsCompleted; /// public event GetGalleryApplicationsFilteredCompletedEventHandler GetGalleryApplicationsFilteredCompleted; /// public event GetGalleryCategoriesCompletedEventHandler GetGalleryCategoriesCompleted; /// public event GetGalleryApplicationDetailsCompletedEventHandler GetGalleryApplicationDetailsCompleted; /// public event GetGalleryApplicationParamsCompletedEventHandler GetGalleryApplicationParamsCompleted; /// public event InstallCompletedEventHandler InstallCompleted; /// public event GetGalleryApplicationStatusCompletedEventHandler GetGalleryApplicationStatusCompleted; /// [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/InitFeeds", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] public void InitFeeds(int packageId) { this.Invoke("InitFeeds", new object[] { packageId}); } /// public System.IAsyncResult BeginInitFeeds(int packageId, System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("InitFeeds", new object[] { packageId}, callback, asyncState); } /// public void EndInitFeeds(System.IAsyncResult asyncResult) { this.EndInvoke(asyncResult); } /// public void InitFeedsAsync(int packageId) { this.InitFeedsAsync(packageId, null); } /// public void InitFeedsAsync(int packageId, object userState) { if ((this.InitFeedsOperationCompleted == null)) { this.InitFeedsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnInitFeedsOperationCompleted); } this.InvokeAsync("InitFeeds", new object[] { packageId}, this.InitFeedsOperationCompleted, userState); } private void OnInitFeedsOperationCompleted(object arg) { if ((this.InitFeedsCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.InitFeedsCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } /// [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/SetResourceLanguage", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] public void SetResourceLanguage(int packageId, string resourceLanguage) { this.Invoke("SetResourceLanguage", new object[] { packageId, resourceLanguage}); } /// public System.IAsyncResult BeginSetResourceLanguage(int packageId, string resourceLanguage, System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("SetResourceLanguage", new object[] { packageId, resourceLanguage}, callback, asyncState); } /// public void EndSetResourceLanguage(System.IAsyncResult asyncResult) { this.EndInvoke(asyncResult); } /// public void SetResourceLanguageAsync(int packageId, string resourceLanguage) { this.SetResourceLanguageAsync(packageId, resourceLanguage, null); } /// public void SetResourceLanguageAsync(int packageId, string resourceLanguage, object userState) { if ((this.SetResourceLanguageOperationCompleted == null)) { this.SetResourceLanguageOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSetResourceLanguageOperationCompleted); } this.InvokeAsync("SetResourceLanguage", new object[] { packageId, resourceLanguage}, this.SetResourceLanguageOperationCompleted, userState); } private void OnSetResourceLanguageOperationCompleted(object arg) { if ((this.SetResourceLanguageCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.SetResourceLanguageCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } /// [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/GetGalleryLanguages", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] public GalleryLanguagesResult GetGalleryLanguages(int packageId) { object[] results = this.Invoke("GetGalleryLanguages", new object[] { packageId}); return ((GalleryLanguagesResult)(results[0])); } /// public System.IAsyncResult BeginGetGalleryLanguages(int packageId, System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("GetGalleryLanguages", new object[] { packageId}, callback, asyncState); } /// public GalleryLanguagesResult EndGetGalleryLanguages(System.IAsyncResult asyncResult) { object[] results = this.EndInvoke(asyncResult); return ((GalleryLanguagesResult)(results[0])); } /// public void GetGalleryLanguagesAsync(int packageId) { this.GetGalleryLanguagesAsync(packageId, null); } /// public void GetGalleryLanguagesAsync(int packageId, object userState) { if ((this.GetGalleryLanguagesOperationCompleted == null)) { this.GetGalleryLanguagesOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetGalleryLanguagesOperationCompleted); } this.InvokeAsync("GetGalleryLanguages", new object[] { packageId}, this.GetGalleryLanguagesOperationCompleted, userState); } private void OnGetGalleryLanguagesOperationCompleted(object arg) { if ((this.GetGalleryLanguagesCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.GetGalleryLanguagesCompleted(this, new GetGalleryLanguagesCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } /// [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/GetGalleryApplicationsByServiceId", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] public GalleryApplicationsResult GetGalleryApplicationsByServiceId(int serviceId) { object[] results = this.Invoke("GetGalleryApplicationsByServiceId", new object[] { serviceId}); return ((GalleryApplicationsResult)(results[0])); } /// public System.IAsyncResult BeginGetGalleryApplicationsByServiceId(int serviceId, System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("GetGalleryApplicationsByServiceId", new object[] { serviceId}, callback, asyncState); } /// public GalleryApplicationsResult EndGetGalleryApplicationsByServiceId(System.IAsyncResult asyncResult) { object[] results = this.EndInvoke(asyncResult); return ((GalleryApplicationsResult)(results[0])); } /// public void GetGalleryApplicationsByServiceIdAsync(int serviceId) { this.GetGalleryApplicationsByServiceIdAsync(serviceId, null); } /// public void GetGalleryApplicationsByServiceIdAsync(int serviceId, object userState) { if ((this.GetGalleryApplicationsByServiceIdOperationCompleted == null)) { this.GetGalleryApplicationsByServiceIdOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetGalleryApplicationsByServiceIdOperationCompleted); } this.InvokeAsync("GetGalleryApplicationsByServiceId", new object[] { serviceId}, this.GetGalleryApplicationsByServiceIdOperationCompleted, userState); } private void OnGetGalleryApplicationsByServiceIdOperationCompleted(object arg) { if ((this.GetGalleryApplicationsByServiceIdCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.GetGalleryApplicationsByServiceIdCompleted(this, new GetGalleryApplicationsByServiceIdCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } /// [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/GetGalleryApplications", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] public GalleryApplicationsResult GetGalleryApplications(int packageId, string categoryId) { object[] results = this.Invoke("GetGalleryApplications", new object[] { packageId, categoryId}); return ((GalleryApplicationsResult)(results[0])); } /// public System.IAsyncResult BeginGetGalleryApplications(int packageId, string categoryId, System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("GetGalleryApplications", new object[] { packageId, categoryId}, callback, asyncState); } /// public GalleryApplicationsResult EndGetGalleryApplications(System.IAsyncResult asyncResult) { object[] results = this.EndInvoke(asyncResult); return ((GalleryApplicationsResult)(results[0])); } /// public void GetGalleryApplicationsAsync(int packageId, string categoryId) { this.GetGalleryApplicationsAsync(packageId, categoryId, null); } /// public void GetGalleryApplicationsAsync(int packageId, string categoryId, object userState) { if ((this.GetGalleryApplicationsOperationCompleted == null)) { this.GetGalleryApplicationsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetGalleryApplicationsOperationCompleted); } this.InvokeAsync("GetGalleryApplications", new object[] { packageId, categoryId}, this.GetGalleryApplicationsOperationCompleted, userState); } private void OnGetGalleryApplicationsOperationCompleted(object arg) { if ((this.GetGalleryApplicationsCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.GetGalleryApplicationsCompleted(this, new GetGalleryApplicationsCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } /// [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/GetGalleryApplicationsFiltered", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] public GalleryApplicationsResult GetGalleryApplicationsFiltered(int packageId, string pattern) { object[] results = this.Invoke("GetGalleryApplicationsFiltered", new object[] { packageId, pattern}); return ((GalleryApplicationsResult)(results[0])); } /// public System.IAsyncResult BeginGetGalleryApplicationsFiltered(int packageId, string pattern, System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("GetGalleryApplicationsFiltered", new object[] { packageId, pattern}, callback, asyncState); } /// public GalleryApplicationsResult EndGetGalleryApplicationsFiltered(System.IAsyncResult asyncResult) { object[] results = this.EndInvoke(asyncResult); return ((GalleryApplicationsResult)(results[0])); } /// public void GetGalleryApplicationsFilteredAsync(int packageId, string pattern) { this.GetGalleryApplicationsFilteredAsync(packageId, pattern, null); } /// public void GetGalleryApplicationsFilteredAsync(int packageId, string pattern, object userState) { if ((this.GetGalleryApplicationsFilteredOperationCompleted == null)) { this.GetGalleryApplicationsFilteredOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetGalleryApplicationsFilteredOperationCompleted); } this.InvokeAsync("GetGalleryApplicationsFiltered", new object[] { packageId, pattern}, this.GetGalleryApplicationsFilteredOperationCompleted, userState); } private void OnGetGalleryApplicationsFilteredOperationCompleted(object arg) { if ((this.GetGalleryApplicationsFilteredCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.GetGalleryApplicationsFilteredCompleted(this, new GetGalleryApplicationsFilteredCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } /// [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/GetGalleryCategories", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] public GalleryCategoriesResult GetGalleryCategories(int packageId) { object[] results = this.Invoke("GetGalleryCategories", new object[] { packageId}); return ((GalleryCategoriesResult)(results[0])); } /// public System.IAsyncResult BeginGetGalleryCategories(int packageId, System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("GetGalleryCategories", new object[] { packageId}, callback, asyncState); } /// public GalleryCategoriesResult EndGetGalleryCategories(System.IAsyncResult asyncResult) { object[] results = this.EndInvoke(asyncResult); return ((GalleryCategoriesResult)(results[0])); } /// public void GetGalleryCategoriesAsync(int packageId) { this.GetGalleryCategoriesAsync(packageId, null); } /// public void GetGalleryCategoriesAsync(int packageId, object userState) { if ((this.GetGalleryCategoriesOperationCompleted == null)) { this.GetGalleryCategoriesOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetGalleryCategoriesOperationCompleted); } this.InvokeAsync("GetGalleryCategories", new object[] { packageId}, this.GetGalleryCategoriesOperationCompleted, userState); } private void OnGetGalleryCategoriesOperationCompleted(object arg) { if ((this.GetGalleryCategoriesCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.GetGalleryCategoriesCompleted(this, new GetGalleryCategoriesCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } /// [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/GetGalleryApplicationDetails", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] public GalleryApplicationResult GetGalleryApplicationDetails(int packageId, string applicationId) { object[] results = this.Invoke("GetGalleryApplicationDetails", new object[] { packageId, applicationId}); return ((GalleryApplicationResult)(results[0])); } /// public System.IAsyncResult BeginGetGalleryApplicationDetails(int packageId, string applicationId, System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("GetGalleryApplicationDetails", new object[] { packageId, applicationId}, callback, asyncState); } /// public GalleryApplicationResult EndGetGalleryApplicationDetails(System.IAsyncResult asyncResult) { object[] results = this.EndInvoke(asyncResult); return ((GalleryApplicationResult)(results[0])); } /// public void GetGalleryApplicationDetailsAsync(int packageId, string applicationId) { this.GetGalleryApplicationDetailsAsync(packageId, applicationId, null); } /// public void GetGalleryApplicationDetailsAsync(int packageId, string applicationId, object userState) { if ((this.GetGalleryApplicationDetailsOperationCompleted == null)) { this.GetGalleryApplicationDetailsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetGalleryApplicationDetailsOperationCompleted); } this.InvokeAsync("GetGalleryApplicationDetails", new object[] { packageId, applicationId}, this.GetGalleryApplicationDetailsOperationCompleted, userState); } private void OnGetGalleryApplicationDetailsOperationCompleted(object arg) { if ((this.GetGalleryApplicationDetailsCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.GetGalleryApplicationDetailsCompleted(this, new GetGalleryApplicationDetailsCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } /// [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/GetGalleryApplicationParams", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] public DeploymentParametersResult GetGalleryApplicationParams(int packageId, string applicationId) { object[] results = this.Invoke("GetGalleryApplicationParams", new object[] { packageId, applicationId}); return ((DeploymentParametersResult)(results[0])); } /// public System.IAsyncResult BeginGetGalleryApplicationParams(int packageId, string applicationId, System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("GetGalleryApplicationParams", new object[] { packageId, applicationId}, callback, asyncState); } /// public DeploymentParametersResult EndGetGalleryApplicationParams(System.IAsyncResult asyncResult) { object[] results = this.EndInvoke(asyncResult); return ((DeploymentParametersResult)(results[0])); } /// public void GetGalleryApplicationParamsAsync(int packageId, string applicationId) { this.GetGalleryApplicationParamsAsync(packageId, applicationId, null); } /// public void GetGalleryApplicationParamsAsync(int packageId, string applicationId, object userState) { if ((this.GetGalleryApplicationParamsOperationCompleted == null)) { this.GetGalleryApplicationParamsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetGalleryApplicationParamsOperationCompleted); } this.InvokeAsync("GetGalleryApplicationParams", new object[] { packageId, applicationId}, this.GetGalleryApplicationParamsOperationCompleted, userState); } private void OnGetGalleryApplicationParamsOperationCompleted(object arg) { if ((this.GetGalleryApplicationParamsCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.GetGalleryApplicationParamsCompleted(this, new GetGalleryApplicationParamsCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } /// [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/Install", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] public StringResultObject Install(int packageId, string webAppId, string siteName, string virtualDir, DeploymentParameter[] parameters, string languageId) { object[] results = this.Invoke("Install", new object[] { packageId, webAppId, siteName, virtualDir, parameters, languageId}); return ((StringResultObject)(results[0])); } /// public System.IAsyncResult BeginInstall(int packageId, string webAppId, string siteName, string virtualDir, DeploymentParameter[] parameters, string languageId, System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("Install", new object[] { packageId, webAppId, siteName, virtualDir, parameters, languageId}, callback, asyncState); } /// public StringResultObject EndInstall(System.IAsyncResult asyncResult) { object[] results = this.EndInvoke(asyncResult); return ((StringResultObject)(results[0])); } /// public void InstallAsync(int packageId, string webAppId, string siteName, string virtualDir, DeploymentParameter[] parameters, string languageId) { this.InstallAsync(packageId, webAppId, siteName, virtualDir, parameters, languageId, null); } /// public void InstallAsync(int packageId, string webAppId, string siteName, string virtualDir, DeploymentParameter[] parameters, string languageId, object userState) { if ((this.InstallOperationCompleted == null)) { this.InstallOperationCompleted = new System.Threading.SendOrPostCallback(this.OnInstallOperationCompleted); } this.InvokeAsync("Install", new object[] { packageId, webAppId, siteName, virtualDir, parameters, languageId}, this.InstallOperationCompleted, userState); } private void OnInstallOperationCompleted(object arg) { if ((this.InstallCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.InstallCompleted(this, new InstallCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } /// [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/GetGalleryApplicationStatus", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] public GalleryWebAppStatus GetGalleryApplicationStatus(int packageId, string webAppId) { object[] results = this.Invoke("GetGalleryApplicationStatus", new object[] { packageId, webAppId}); return ((GalleryWebAppStatus)(results[0])); } /// public System.IAsyncResult BeginGetGalleryApplicationStatus(int packageId, string webAppId, System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("GetGalleryApplicationStatus", new object[] { packageId, webAppId}, callback, asyncState); } /// public GalleryWebAppStatus EndGetGalleryApplicationStatus(System.IAsyncResult asyncResult) { object[] results = this.EndInvoke(asyncResult); return ((GalleryWebAppStatus)(results[0])); } /// public void GetGalleryApplicationStatusAsync(int packageId, string webAppId) { this.GetGalleryApplicationStatusAsync(packageId, webAppId, null); } /// public void GetGalleryApplicationStatusAsync(int packageId, string webAppId, object userState) { if ((this.GetGalleryApplicationStatusOperationCompleted == null)) { this.GetGalleryApplicationStatusOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetGalleryApplicationStatusOperationCompleted); } this.InvokeAsync("GetGalleryApplicationStatus", new object[] { packageId, webAppId}, this.GetGalleryApplicationStatusOperationCompleted, userState); } private void OnGetGalleryApplicationStatusOperationCompleted(object arg) { if ((this.GetGalleryApplicationStatusCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.GetGalleryApplicationStatusCompleted(this, new GetGalleryApplicationStatusCompletedEventArgs(invokeArgs.Results, 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 InitFeedsCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] public delegate void SetResourceLanguageCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] public delegate void GetGalleryLanguagesCompletedEventHandler(object sender, GetGalleryLanguagesCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] public partial class GetGalleryLanguagesCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { private object[] results; internal GetGalleryLanguagesCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : base(exception, cancelled, userState) { this.results = results; } /// public GalleryLanguagesResult Result { get { this.RaiseExceptionIfNecessary(); return ((GalleryLanguagesResult)(this.results[0])); } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] public delegate void GetGalleryApplicationsByServiceIdCompletedEventHandler(object sender, GetGalleryApplicationsByServiceIdCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] public partial class GetGalleryApplicationsByServiceIdCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { private object[] results; internal GetGalleryApplicationsByServiceIdCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : base(exception, cancelled, userState) { this.results = results; } /// public GalleryApplicationsResult Result { get { this.RaiseExceptionIfNecessary(); return ((GalleryApplicationsResult)(this.results[0])); } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] public delegate void GetGalleryApplicationsCompletedEventHandler(object sender, GetGalleryApplicationsCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] public partial class GetGalleryApplicationsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { private object[] results; internal GetGalleryApplicationsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : base(exception, cancelled, userState) { this.results = results; } /// public GalleryApplicationsResult Result { get { this.RaiseExceptionIfNecessary(); return ((GalleryApplicationsResult)(this.results[0])); } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] public delegate void GetGalleryApplicationsFilteredCompletedEventHandler(object sender, GetGalleryApplicationsFilteredCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] public partial class GetGalleryApplicationsFilteredCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { private object[] results; internal GetGalleryApplicationsFilteredCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : base(exception, cancelled, userState) { this.results = results; } /// public GalleryApplicationsResult Result { get { this.RaiseExceptionIfNecessary(); return ((GalleryApplicationsResult)(this.results[0])); } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] public delegate void GetGalleryCategoriesCompletedEventHandler(object sender, GetGalleryCategoriesCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] public partial class GetGalleryCategoriesCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { private object[] results; internal GetGalleryCategoriesCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : base(exception, cancelled, userState) { this.results = results; } /// public GalleryCategoriesResult Result { get { this.RaiseExceptionIfNecessary(); return ((GalleryCategoriesResult)(this.results[0])); } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] public delegate void GetGalleryApplicationDetailsCompletedEventHandler(object sender, GetGalleryApplicationDetailsCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] public partial class GetGalleryApplicationDetailsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { private object[] results; internal GetGalleryApplicationDetailsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : base(exception, cancelled, userState) { this.results = results; } /// public GalleryApplicationResult Result { get { this.RaiseExceptionIfNecessary(); return ((GalleryApplicationResult)(this.results[0])); } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] public delegate void GetGalleryApplicationParamsCompletedEventHandler(object sender, GetGalleryApplicationParamsCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] public partial class GetGalleryApplicationParamsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { private object[] results; internal GetGalleryApplicationParamsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : base(exception, cancelled, userState) { this.results = results; } /// public DeploymentParametersResult Result { get { this.RaiseExceptionIfNecessary(); return ((DeploymentParametersResult)(this.results[0])); } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] public delegate void InstallCompletedEventHandler(object sender, InstallCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] public partial class InstallCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { private object[] results; internal InstallCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : base(exception, cancelled, userState) { this.results = results; } /// public StringResultObject Result { get { this.RaiseExceptionIfNecessary(); return ((StringResultObject)(this.results[0])); } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] public delegate void GetGalleryApplicationStatusCompletedEventHandler(object sender, GetGalleryApplicationStatusCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] public partial class GetGalleryApplicationStatusCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { private object[] results; internal GetGalleryApplicationStatusCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : base(exception, cancelled, userState) { this.results = results; } /// public GalleryWebAppStatus Result { get { this.RaiseExceptionIfNecessary(); return ((GalleryWebAppStatus)(this.results[0])); } } } }