// 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.
using WebsitePanel.Providers;
using WebsitePanel.Providers.OS;
//------------------------------------------------------------------------------
//
// This code was generated by a tool.
// Runtime Version:2.0.50727.1433
//
// 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.EnterpriseServer {
using System.Diagnostics;
using System.Web.Services;
using System.ComponentModel;
using System.Web.Services.Protocols;
using System;
using System.Xml.Serialization;
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Web.Services.WebServiceBindingAttribute(Name="esFilesSoap", Namespace="http://smbsaas/websitepanel/enterpriseserver")]
[System.Xml.Serialization.XmlIncludeAttribute(typeof(ServiceProviderItem))]
public partial class esFiles : Microsoft.Web.Services3.WebServicesClientProtocol {
private System.Threading.SendOrPostCallback GetFilesOperationCompleted;
private System.Threading.SendOrPostCallback GetFilesByMaskOperationCompleted;
private System.Threading.SendOrPostCallback GetFileBinaryContentOperationCompleted;
private System.Threading.SendOrPostCallback GetFileBinaryContentUsingEncodingOperationCompleted;
private System.Threading.SendOrPostCallback UpdateFileBinaryContentOperationCompleted;
private System.Threading.SendOrPostCallback UpdateFileBinaryContentUsingEncodingOperationCompleted;
private System.Threading.SendOrPostCallback GetFileBinaryChunkOperationCompleted;
private System.Threading.SendOrPostCallback AppendFileBinaryChunkOperationCompleted;
private System.Threading.SendOrPostCallback DeleteFilesOperationCompleted;
private System.Threading.SendOrPostCallback CreateFileOperationCompleted;
private System.Threading.SendOrPostCallback CreateFolderOperationCompleted;
private System.Threading.SendOrPostCallback CopyFilesOperationCompleted;
private System.Threading.SendOrPostCallback MoveFilesOperationCompleted;
private System.Threading.SendOrPostCallback RenameFileOperationCompleted;
private System.Threading.SendOrPostCallback UnzipFilesOperationCompleted;
private System.Threading.SendOrPostCallback ZipFilesOperationCompleted;
private System.Threading.SendOrPostCallback ZipRemoteFilesOperationCompleted;
private System.Threading.SendOrPostCallback CreateAccessDatabaseOperationCompleted;
private System.Threading.SendOrPostCallback CalculatePackageDiskspaceOperationCompleted;
private System.Threading.SendOrPostCallback GetFilePermissionsOperationCompleted;
private System.Threading.SendOrPostCallback SetFilePermissionsOperationCompleted;
private System.Threading.SendOrPostCallback GetFolderGraphOperationCompleted;
private System.Threading.SendOrPostCallback ExecuteSyncActionsOperationCompleted;
///
public esFiles() {
this.Url = "http://localhost/EnterpriseServer/esFiles.asmx";
}
///
public event GetFilesCompletedEventHandler GetFilesCompleted;
///
public event GetFilesByMaskCompletedEventHandler GetFilesByMaskCompleted;
///
public event GetFileBinaryContentCompletedEventHandler GetFileBinaryContentCompleted;
///
public event GetFileBinaryContentUsingEncodingCompletedEventHandler GetFileBinaryContentUsingEncodingCompleted;
///
public event UpdateFileBinaryContentCompletedEventHandler UpdateFileBinaryContentCompleted;
///
public event UpdateFileBinaryContentUsingEncodingCompletedEventHandler UpdateFileBinaryContentUsingEncodingCompleted;
///
public event GetFileBinaryChunkCompletedEventHandler GetFileBinaryChunkCompleted;
///
public event AppendFileBinaryChunkCompletedEventHandler AppendFileBinaryChunkCompleted;
///
public event DeleteFilesCompletedEventHandler DeleteFilesCompleted;
///
public event CreateFileCompletedEventHandler CreateFileCompleted;
///
public event CreateFolderCompletedEventHandler CreateFolderCompleted;
///
public event CopyFilesCompletedEventHandler CopyFilesCompleted;
///
public event MoveFilesCompletedEventHandler MoveFilesCompleted;
///
public event RenameFileCompletedEventHandler RenameFileCompleted;
///
public event UnzipFilesCompletedEventHandler UnzipFilesCompleted;
///
public event ZipFilesCompletedEventHandler ZipFilesCompleted;
///
public event ZipRemoteFilesCompletedEventHandler ZipRemoteFilesCompleted;
///
public event CreateAccessDatabaseCompletedEventHandler CreateAccessDatabaseCompleted;
///
public event CalculatePackageDiskspaceCompletedEventHandler CalculatePackageDiskspaceCompleted;
///
public event GetFilePermissionsCompletedEventHandler GetFilePermissionsCompleted;
///
public event SetFilePermissionsCompletedEventHandler SetFilePermissionsCompleted;
///
public event GetFolderGraphCompletedEventHandler GetFolderGraphCompleted;
///
public event ExecuteSyncActionsCompletedEventHandler ExecuteSyncActionsCompleted;
///
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetFiles", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public SystemFile[] GetFiles(int packageId, string path, bool includeFiles) {
object[] results = this.Invoke("GetFiles", new object[] {
packageId,
path,
includeFiles});
return ((SystemFile[])(results[0]));
}
///
public System.IAsyncResult BeginGetFiles(int packageId, string path, bool includeFiles, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("GetFiles", new object[] {
packageId,
path,
includeFiles}, callback, asyncState);
}
///
public SystemFile[] EndGetFiles(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((SystemFile[])(results[0]));
}
///
public void GetFilesAsync(int packageId, string path, bool includeFiles) {
this.GetFilesAsync(packageId, path, includeFiles, null);
}
///
public void GetFilesAsync(int packageId, string path, bool includeFiles, object userState) {
if ((this.GetFilesOperationCompleted == null)) {
this.GetFilesOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetFilesOperationCompleted);
}
this.InvokeAsync("GetFiles", new object[] {
packageId,
path,
includeFiles}, this.GetFilesOperationCompleted, userState);
}
private void OnGetFilesOperationCompleted(object arg) {
if ((this.GetFilesCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.GetFilesCompleted(this, new GetFilesCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
///
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetFilesByMask", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public SystemFile[] GetFilesByMask(int packageId, string path, string filesMask) {
object[] results = this.Invoke("GetFilesByMask", new object[] {
packageId,
path,
filesMask});
return ((SystemFile[])(results[0]));
}
///
public System.IAsyncResult BeginGetFilesByMask(int packageId, string path, string filesMask, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("GetFilesByMask", new object[] {
packageId,
path,
filesMask}, callback, asyncState);
}
///
public SystemFile[] EndGetFilesByMask(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((SystemFile[])(results[0]));
}
///
public void GetFilesByMaskAsync(int packageId, string path, string filesMask) {
this.GetFilesByMaskAsync(packageId, path, filesMask, null);
}
///
public void GetFilesByMaskAsync(int packageId, string path, string filesMask, object userState) {
if ((this.GetFilesByMaskOperationCompleted == null)) {
this.GetFilesByMaskOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetFilesByMaskOperationCompleted);
}
this.InvokeAsync("GetFilesByMask", new object[] {
packageId,
path,
filesMask}, this.GetFilesByMaskOperationCompleted, userState);
}
private void OnGetFilesByMaskOperationCompleted(object arg) {
if ((this.GetFilesByMaskCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.GetFilesByMaskCompleted(this, new GetFilesByMaskCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
///
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetFileBinaryContent", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
[return: System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary")]
public byte[] GetFileBinaryContent(int packageId, string path) {
object[] results = this.Invoke("GetFileBinaryContent", new object[] {
packageId,
path});
return ((byte[])(results[0]));
}
///
public System.IAsyncResult BeginGetFileBinaryContent(int packageId, string path, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("GetFileBinaryContent", new object[] {
packageId,
path}, callback, asyncState);
}
///
public byte[] EndGetFileBinaryContent(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((byte[])(results[0]));
}
///
public void GetFileBinaryContentAsync(int packageId, string path) {
this.GetFileBinaryContentAsync(packageId, path, null);
}
///
public void GetFileBinaryContentAsync(int packageId, string path, object userState) {
if ((this.GetFileBinaryContentOperationCompleted == null)) {
this.GetFileBinaryContentOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetFileBinaryContentOperationCompleted);
}
this.InvokeAsync("GetFileBinaryContent", new object[] {
packageId,
path}, this.GetFileBinaryContentOperationCompleted, userState);
}
private void OnGetFileBinaryContentOperationCompleted(object arg) {
if ((this.GetFileBinaryContentCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.GetFileBinaryContentCompleted(this, new GetFileBinaryContentCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
///
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetFileBinaryContentUsingEncoding", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
[return: System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary")]
public byte[] GetFileBinaryContentUsingEncoding(int packageId, string path, string encoding) {
object[] results = this.Invoke("GetFileBinaryContentUsingEncoding", new object[] {
packageId,
path,
encoding});
return ((byte[])(results[0]));
}
///
public System.IAsyncResult BeginGetFileBinaryContentUsingEncoding(int packageId, string path, string encoding, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("GetFileBinaryContentUsingEncoding", new object[] {
packageId,
path,
encoding}, callback, asyncState);
}
///
public byte[] EndGetFileBinaryContentUsingEncoding(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((byte[])(results[0]));
}
///
public void GetFileBinaryContentUsingEncodingAsync(int packageId, string path, string encoding) {
this.GetFileBinaryContentUsingEncodingAsync(packageId, path, encoding, null);
}
///
public void GetFileBinaryContentUsingEncodingAsync(int packageId, string path, string encoding, object userState) {
if ((this.GetFileBinaryContentUsingEncodingOperationCompleted == null)) {
this.GetFileBinaryContentUsingEncodingOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetFileBinaryContentUsingEncodingOperationCompleted);
}
this.InvokeAsync("GetFileBinaryContentUsingEncoding", new object[] {
packageId,
path,
encoding}, this.GetFileBinaryContentUsingEncodingOperationCompleted, userState);
}
private void OnGetFileBinaryContentUsingEncodingOperationCompleted(object arg) {
if ((this.GetFileBinaryContentUsingEncodingCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.GetFileBinaryContentUsingEncodingCompleted(this, new GetFileBinaryContentUsingEncodingCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
///
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/UpdateFileBinaryContent", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public int UpdateFileBinaryContent(int packageId, string path, [System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary")] byte[] content) {
object[] results = this.Invoke("UpdateFileBinaryContent", new object[] {
packageId,
path,
content});
return ((int)(results[0]));
}
///
public System.IAsyncResult BeginUpdateFileBinaryContent(int packageId, string path, byte[] content, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("UpdateFileBinaryContent", new object[] {
packageId,
path,
content}, callback, asyncState);
}
///
public int EndUpdateFileBinaryContent(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((int)(results[0]));
}
///
public void UpdateFileBinaryContentAsync(int packageId, string path, byte[] content) {
this.UpdateFileBinaryContentAsync(packageId, path, content, null);
}
///
public void UpdateFileBinaryContentAsync(int packageId, string path, byte[] content, object userState) {
if ((this.UpdateFileBinaryContentOperationCompleted == null)) {
this.UpdateFileBinaryContentOperationCompleted = new System.Threading.SendOrPostCallback(this.OnUpdateFileBinaryContentOperationCompleted);
}
this.InvokeAsync("UpdateFileBinaryContent", new object[] {
packageId,
path,
content}, this.UpdateFileBinaryContentOperationCompleted, userState);
}
private void OnUpdateFileBinaryContentOperationCompleted(object arg) {
if ((this.UpdateFileBinaryContentCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.UpdateFileBinaryContentCompleted(this, new UpdateFileBinaryContentCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
///
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/UpdateFileBinaryContentUsingEncodi" +
"ng", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public int UpdateFileBinaryContentUsingEncoding(int packageId, string path, [System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary")] byte[] content, string encoding) {
object[] results = this.Invoke("UpdateFileBinaryContentUsingEncoding", new object[] {
packageId,
path,
content,
encoding});
return ((int)(results[0]));
}
///
public System.IAsyncResult BeginUpdateFileBinaryContentUsingEncoding(int packageId, string path, byte[] content, string encoding, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("UpdateFileBinaryContentUsingEncoding", new object[] {
packageId,
path,
content,
encoding}, callback, asyncState);
}
///
public int EndUpdateFileBinaryContentUsingEncoding(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((int)(results[0]));
}
///
public void UpdateFileBinaryContentUsingEncodingAsync(int packageId, string path, byte[] content, string encoding) {
this.UpdateFileBinaryContentUsingEncodingAsync(packageId, path, content, encoding, null);
}
///
public void UpdateFileBinaryContentUsingEncodingAsync(int packageId, string path, byte[] content, string encoding, object userState) {
if ((this.UpdateFileBinaryContentUsingEncodingOperationCompleted == null)) {
this.UpdateFileBinaryContentUsingEncodingOperationCompleted = new System.Threading.SendOrPostCallback(this.OnUpdateFileBinaryContentUsingEncodingOperationCompleted);
}
this.InvokeAsync("UpdateFileBinaryContentUsingEncoding", new object[] {
packageId,
path,
content,
encoding}, this.UpdateFileBinaryContentUsingEncodingOperationCompleted, userState);
}
private void OnUpdateFileBinaryContentUsingEncodingOperationCompleted(object arg) {
if ((this.UpdateFileBinaryContentUsingEncodingCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.UpdateFileBinaryContentUsingEncodingCompleted(this, new UpdateFileBinaryContentUsingEncodingCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
///
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetFileBinaryChunk", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
[return: System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary")]
public byte[] GetFileBinaryChunk(int packageId, string path, int offset, int length) {
object[] results = this.Invoke("GetFileBinaryChunk", new object[] {
packageId,
path,
offset,
length});
return ((byte[])(results[0]));
}
///
public System.IAsyncResult BeginGetFileBinaryChunk(int packageId, string path, int offset, int length, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("GetFileBinaryChunk", new object[] {
packageId,
path,
offset,
length}, callback, asyncState);
}
///
public byte[] EndGetFileBinaryChunk(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((byte[])(results[0]));
}
///
public void GetFileBinaryChunkAsync(int packageId, string path, int offset, int length) {
this.GetFileBinaryChunkAsync(packageId, path, offset, length, null);
}
///
public void GetFileBinaryChunkAsync(int packageId, string path, int offset, int length, object userState) {
if ((this.GetFileBinaryChunkOperationCompleted == null)) {
this.GetFileBinaryChunkOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetFileBinaryChunkOperationCompleted);
}
this.InvokeAsync("GetFileBinaryChunk", new object[] {
packageId,
path,
offset,
length}, this.GetFileBinaryChunkOperationCompleted, userState);
}
private void OnGetFileBinaryChunkOperationCompleted(object arg) {
if ((this.GetFileBinaryChunkCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.GetFileBinaryChunkCompleted(this, new GetFileBinaryChunkCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
///
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/AppendFileBinaryChunk", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public int AppendFileBinaryChunk(int packageId, string path, [System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary")] byte[] chunk) {
object[] results = this.Invoke("AppendFileBinaryChunk", new object[] {
packageId,
path,
chunk});
return ((int)(results[0]));
}
///
public System.IAsyncResult BeginAppendFileBinaryChunk(int packageId, string path, byte[] chunk, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("AppendFileBinaryChunk", new object[] {
packageId,
path,
chunk}, callback, asyncState);
}
///
public int EndAppendFileBinaryChunk(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((int)(results[0]));
}
///
public void AppendFileBinaryChunkAsync(int packageId, string path, byte[] chunk) {
this.AppendFileBinaryChunkAsync(packageId, path, chunk, null);
}
///
public void AppendFileBinaryChunkAsync(int packageId, string path, byte[] chunk, object userState) {
if ((this.AppendFileBinaryChunkOperationCompleted == null)) {
this.AppendFileBinaryChunkOperationCompleted = new System.Threading.SendOrPostCallback(this.OnAppendFileBinaryChunkOperationCompleted);
}
this.InvokeAsync("AppendFileBinaryChunk", new object[] {
packageId,
path,
chunk}, this.AppendFileBinaryChunkOperationCompleted, userState);
}
private void OnAppendFileBinaryChunkOperationCompleted(object arg) {
if ((this.AppendFileBinaryChunkCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.AppendFileBinaryChunkCompleted(this, new AppendFileBinaryChunkCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
///
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/DeleteFiles", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public int DeleteFiles(int packageId, string[] files) {
object[] results = this.Invoke("DeleteFiles", new object[] {
packageId,
files});
return ((int)(results[0]));
}
///
public System.IAsyncResult BeginDeleteFiles(int packageId, string[] files, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("DeleteFiles", new object[] {
packageId,
files}, callback, asyncState);
}
///
public int EndDeleteFiles(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((int)(results[0]));
}
///
public void DeleteFilesAsync(int packageId, string[] files) {
this.DeleteFilesAsync(packageId, files, null);
}
///
public void DeleteFilesAsync(int packageId, string[] files, object userState) {
if ((this.DeleteFilesOperationCompleted == null)) {
this.DeleteFilesOperationCompleted = new System.Threading.SendOrPostCallback(this.OnDeleteFilesOperationCompleted);
}
this.InvokeAsync("DeleteFiles", new object[] {
packageId,
files}, this.DeleteFilesOperationCompleted, userState);
}
private void OnDeleteFilesOperationCompleted(object arg) {
if ((this.DeleteFilesCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.DeleteFilesCompleted(this, new DeleteFilesCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
///
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/CreateFile", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public int CreateFile(int packageId, string path) {
object[] results = this.Invoke("CreateFile", new object[] {
packageId,
path});
return ((int)(results[0]));
}
///
public System.IAsyncResult BeginCreateFile(int packageId, string path, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("CreateFile", new object[] {
packageId,
path}, callback, asyncState);
}
///
public int EndCreateFile(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((int)(results[0]));
}
///
public void CreateFileAsync(int packageId, string path) {
this.CreateFileAsync(packageId, path, null);
}
///
public void CreateFileAsync(int packageId, string path, object userState) {
if ((this.CreateFileOperationCompleted == null)) {
this.CreateFileOperationCompleted = new System.Threading.SendOrPostCallback(this.OnCreateFileOperationCompleted);
}
this.InvokeAsync("CreateFile", new object[] {
packageId,
path}, this.CreateFileOperationCompleted, userState);
}
private void OnCreateFileOperationCompleted(object arg) {
if ((this.CreateFileCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.CreateFileCompleted(this, new CreateFileCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
///
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/CreateFolder", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public int CreateFolder(int packageId, string path) {
object[] results = this.Invoke("CreateFolder", new object[] {
packageId,
path});
return ((int)(results[0]));
}
///
public System.IAsyncResult BeginCreateFolder(int packageId, string path, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("CreateFolder", new object[] {
packageId,
path}, callback, asyncState);
}
///
public int EndCreateFolder(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((int)(results[0]));
}
///
public void CreateFolderAsync(int packageId, string path) {
this.CreateFolderAsync(packageId, path, null);
}
///
public void CreateFolderAsync(int packageId, string path, object userState) {
if ((this.CreateFolderOperationCompleted == null)) {
this.CreateFolderOperationCompleted = new System.Threading.SendOrPostCallback(this.OnCreateFolderOperationCompleted);
}
this.InvokeAsync("CreateFolder", new object[] {
packageId,
path}, this.CreateFolderOperationCompleted, userState);
}
private void OnCreateFolderOperationCompleted(object arg) {
if ((this.CreateFolderCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.CreateFolderCompleted(this, new CreateFolderCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
///
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/CopyFiles", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public int CopyFiles(int packageId, string[] files, string destFolder) {
object[] results = this.Invoke("CopyFiles", new object[] {
packageId,
files,
destFolder});
return ((int)(results[0]));
}
///
public System.IAsyncResult BeginCopyFiles(int packageId, string[] files, string destFolder, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("CopyFiles", new object[] {
packageId,
files,
destFolder}, callback, asyncState);
}
///
public int EndCopyFiles(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((int)(results[0]));
}
///
public void CopyFilesAsync(int packageId, string[] files, string destFolder) {
this.CopyFilesAsync(packageId, files, destFolder, null);
}
///
public void CopyFilesAsync(int packageId, string[] files, string destFolder, object userState) {
if ((this.CopyFilesOperationCompleted == null)) {
this.CopyFilesOperationCompleted = new System.Threading.SendOrPostCallback(this.OnCopyFilesOperationCompleted);
}
this.InvokeAsync("CopyFiles", new object[] {
packageId,
files,
destFolder}, this.CopyFilesOperationCompleted, userState);
}
private void OnCopyFilesOperationCompleted(object arg) {
if ((this.CopyFilesCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.CopyFilesCompleted(this, new CopyFilesCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
///
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/MoveFiles", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public int MoveFiles(int packageId, string[] files, string destFolder) {
object[] results = this.Invoke("MoveFiles", new object[] {
packageId,
files,
destFolder});
return ((int)(results[0]));
}
///
public System.IAsyncResult BeginMoveFiles(int packageId, string[] files, string destFolder, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("MoveFiles", new object[] {
packageId,
files,
destFolder}, callback, asyncState);
}
///
public int EndMoveFiles(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((int)(results[0]));
}
///
public void MoveFilesAsync(int packageId, string[] files, string destFolder) {
this.MoveFilesAsync(packageId, files, destFolder, null);
}
///
public void MoveFilesAsync(int packageId, string[] files, string destFolder, object userState) {
if ((this.MoveFilesOperationCompleted == null)) {
this.MoveFilesOperationCompleted = new System.Threading.SendOrPostCallback(this.OnMoveFilesOperationCompleted);
}
this.InvokeAsync("MoveFiles", new object[] {
packageId,
files,
destFolder}, this.MoveFilesOperationCompleted, userState);
}
private void OnMoveFilesOperationCompleted(object arg) {
if ((this.MoveFilesCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.MoveFilesCompleted(this, new MoveFilesCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
///
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/RenameFile", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public int RenameFile(int packageId, string oldPath, string newPath) {
object[] results = this.Invoke("RenameFile", new object[] {
packageId,
oldPath,
newPath});
return ((int)(results[0]));
}
///
public System.IAsyncResult BeginRenameFile(int packageId, string oldPath, string newPath, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("RenameFile", new object[] {
packageId,
oldPath,
newPath}, callback, asyncState);
}
///
public int EndRenameFile(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((int)(results[0]));
}
///
public void RenameFileAsync(int packageId, string oldPath, string newPath) {
this.RenameFileAsync(packageId, oldPath, newPath, null);
}
///
public void RenameFileAsync(int packageId, string oldPath, string newPath, object userState) {
if ((this.RenameFileOperationCompleted == null)) {
this.RenameFileOperationCompleted = new System.Threading.SendOrPostCallback(this.OnRenameFileOperationCompleted);
}
this.InvokeAsync("RenameFile", new object[] {
packageId,
oldPath,
newPath}, this.RenameFileOperationCompleted, userState);
}
private void OnRenameFileOperationCompleted(object arg) {
if ((this.RenameFileCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.RenameFileCompleted(this, new RenameFileCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
///
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/UnzipFiles", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public void UnzipFiles(int packageId, string[] files) {
this.Invoke("UnzipFiles", new object[] {
packageId,
files});
}
///
public System.IAsyncResult BeginUnzipFiles(int packageId, string[] files, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("UnzipFiles", new object[] {
packageId,
files}, callback, asyncState);
}
///
public void EndUnzipFiles(System.IAsyncResult asyncResult) {
this.EndInvoke(asyncResult);
}
///
public void UnzipFilesAsync(int packageId, string[] files) {
this.UnzipFilesAsync(packageId, files, null);
}
///
public void UnzipFilesAsync(int packageId, string[] files, object userState) {
if ((this.UnzipFilesOperationCompleted == null)) {
this.UnzipFilesOperationCompleted = new System.Threading.SendOrPostCallback(this.OnUnzipFilesOperationCompleted);
}
this.InvokeAsync("UnzipFiles", new object[] {
packageId,
files}, this.UnzipFilesOperationCompleted, userState);
}
private void OnUnzipFilesOperationCompleted(object arg) {
if ((this.UnzipFilesCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.UnzipFilesCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
///
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/ZipFiles", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public int ZipFiles(int packageId, string[] files, string archivePath) {
object[] results = this.Invoke("ZipFiles", new object[] {
packageId,
files,
archivePath});
return ((int)(results[0]));
}
///
public System.IAsyncResult BeginZipFiles(int packageId, string[] files, string archivePath, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("ZipFiles", new object[] {
packageId,
files,
archivePath}, callback, asyncState);
}
///
public int EndZipFiles(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((int)(results[0]));
}
///
public void ZipFilesAsync(int packageId, string[] files, string archivePath) {
this.ZipFilesAsync(packageId, files, archivePath, null);
}
///
public void ZipFilesAsync(int packageId, string[] files, string archivePath, object userState) {
if ((this.ZipFilesOperationCompleted == null)) {
this.ZipFilesOperationCompleted = new System.Threading.SendOrPostCallback(this.OnZipFilesOperationCompleted);
}
this.InvokeAsync("ZipFiles", new object[] {
packageId,
files,
archivePath}, this.ZipFilesOperationCompleted, userState);
}
private void OnZipFilesOperationCompleted(object arg) {
if ((this.ZipFilesCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.ZipFilesCompleted(this, new ZipFilesCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
///
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/ZipRemoteFiles", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public int ZipRemoteFiles(int packageId, string rootFolder, string[] files, string archivePath) {
object[] results = this.Invoke("ZipRemoteFiles", new object[] {
packageId,
rootFolder,
files,
archivePath});
return ((int)(results[0]));
}
///
public System.IAsyncResult BeginZipRemoteFiles(int packageId, string rootFolder, string[] files, string archivePath, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("ZipRemoteFiles", new object[] {
packageId,
rootFolder,
files,
archivePath}, callback, asyncState);
}
///
public int EndZipRemoteFiles(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((int)(results[0]));
}
///
public void ZipRemoteFilesAsync(int packageId, string rootFolder, string[] files, string archivePath) {
this.ZipRemoteFilesAsync(packageId, rootFolder, files, archivePath, null);
}
///
public void ZipRemoteFilesAsync(int packageId, string rootFolder, string[] files, string archivePath, object userState) {
if ((this.ZipRemoteFilesOperationCompleted == null)) {
this.ZipRemoteFilesOperationCompleted = new System.Threading.SendOrPostCallback(this.OnZipRemoteFilesOperationCompleted);
}
this.InvokeAsync("ZipRemoteFiles", new object[] {
packageId,
rootFolder,
files,
archivePath}, this.ZipRemoteFilesOperationCompleted, userState);
}
private void OnZipRemoteFilesOperationCompleted(object arg) {
if ((this.ZipRemoteFilesCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.ZipRemoteFilesCompleted(this, new ZipRemoteFilesCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
///
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/CreateAccessDatabase", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public int CreateAccessDatabase(int packageId, string dbPath) {
object[] results = this.Invoke("CreateAccessDatabase", new object[] {
packageId,
dbPath});
return ((int)(results[0]));
}
///
public System.IAsyncResult BeginCreateAccessDatabase(int packageId, string dbPath, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("CreateAccessDatabase", new object[] {
packageId,
dbPath}, callback, asyncState);
}
///
public int EndCreateAccessDatabase(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((int)(results[0]));
}
///
public void CreateAccessDatabaseAsync(int packageId, string dbPath) {
this.CreateAccessDatabaseAsync(packageId, dbPath, null);
}
///
public void CreateAccessDatabaseAsync(int packageId, string dbPath, object userState) {
if ((this.CreateAccessDatabaseOperationCompleted == null)) {
this.CreateAccessDatabaseOperationCompleted = new System.Threading.SendOrPostCallback(this.OnCreateAccessDatabaseOperationCompleted);
}
this.InvokeAsync("CreateAccessDatabase", new object[] {
packageId,
dbPath}, this.CreateAccessDatabaseOperationCompleted, userState);
}
private void OnCreateAccessDatabaseOperationCompleted(object arg) {
if ((this.CreateAccessDatabaseCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.CreateAccessDatabaseCompleted(this, new CreateAccessDatabaseCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
///
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/CalculatePackageDiskspace", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public int CalculatePackageDiskspace(int packageId) {
object[] results = this.Invoke("CalculatePackageDiskspace", new object[] {
packageId});
return ((int)(results[0]));
}
///
public System.IAsyncResult BeginCalculatePackageDiskspace(int packageId, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("CalculatePackageDiskspace", new object[] {
packageId}, callback, asyncState);
}
///
public int EndCalculatePackageDiskspace(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((int)(results[0]));
}
///
public void CalculatePackageDiskspaceAsync(int packageId) {
this.CalculatePackageDiskspaceAsync(packageId, null);
}
///
public void CalculatePackageDiskspaceAsync(int packageId, object userState) {
if ((this.CalculatePackageDiskspaceOperationCompleted == null)) {
this.CalculatePackageDiskspaceOperationCompleted = new System.Threading.SendOrPostCallback(this.OnCalculatePackageDiskspaceOperationCompleted);
}
this.InvokeAsync("CalculatePackageDiskspace", new object[] {
packageId}, this.CalculatePackageDiskspaceOperationCompleted, userState);
}
private void OnCalculatePackageDiskspaceOperationCompleted(object arg) {
if ((this.CalculatePackageDiskspaceCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.CalculatePackageDiskspaceCompleted(this, new CalculatePackageDiskspaceCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
///
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetFilePermissions", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public UserPermission[] GetFilePermissions(int packageId, string path) {
object[] results = this.Invoke("GetFilePermissions", new object[] {
packageId,
path});
return ((UserPermission[])(results[0]));
}
///
public System.IAsyncResult BeginGetFilePermissions(int packageId, string path, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("GetFilePermissions", new object[] {
packageId,
path}, callback, asyncState);
}
///
public UserPermission[] EndGetFilePermissions(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((UserPermission[])(results[0]));
}
///
public void GetFilePermissionsAsync(int packageId, string path) {
this.GetFilePermissionsAsync(packageId, path, null);
}
///
public void GetFilePermissionsAsync(int packageId, string path, object userState) {
if ((this.GetFilePermissionsOperationCompleted == null)) {
this.GetFilePermissionsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetFilePermissionsOperationCompleted);
}
this.InvokeAsync("GetFilePermissions", new object[] {
packageId,
path}, this.GetFilePermissionsOperationCompleted, userState);
}
private void OnGetFilePermissionsOperationCompleted(object arg) {
if ((this.GetFilePermissionsCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.GetFilePermissionsCompleted(this, new GetFilePermissionsCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
///
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/SetFilePermissions", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public int SetFilePermissions(int packageId, string path, UserPermission[] users, bool resetChildPermissions) {
object[] results = this.Invoke("SetFilePermissions", new object[] {
packageId,
path,
users,
resetChildPermissions});
return ((int)(results[0]));
}
///
public System.IAsyncResult BeginSetFilePermissions(int packageId, string path, UserPermission[] users, bool resetChildPermissions, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("SetFilePermissions", new object[] {
packageId,
path,
users,
resetChildPermissions}, callback, asyncState);
}
///
public int EndSetFilePermissions(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((int)(results[0]));
}
///
public void SetFilePermissionsAsync(int packageId, string path, UserPermission[] users, bool resetChildPermissions) {
this.SetFilePermissionsAsync(packageId, path, users, resetChildPermissions, null);
}
///
public void SetFilePermissionsAsync(int packageId, string path, UserPermission[] users, bool resetChildPermissions, object userState) {
if ((this.SetFilePermissionsOperationCompleted == null)) {
this.SetFilePermissionsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSetFilePermissionsOperationCompleted);
}
this.InvokeAsync("SetFilePermissions", new object[] {
packageId,
path,
users,
resetChildPermissions}, this.SetFilePermissionsOperationCompleted, userState);
}
private void OnSetFilePermissionsOperationCompleted(object arg) {
if ((this.SetFilePermissionsCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.SetFilePermissionsCompleted(this, new SetFilePermissionsCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
///
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetFolderGraph", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public FolderGraph GetFolderGraph(int packageId, string path) {
object[] results = this.Invoke("GetFolderGraph", new object[] {
packageId,
path});
return ((FolderGraph)(results[0]));
}
///
public System.IAsyncResult BeginGetFolderGraph(int packageId, string path, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("GetFolderGraph", new object[] {
packageId,
path}, callback, asyncState);
}
///
public FolderGraph EndGetFolderGraph(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((FolderGraph)(results[0]));
}
///
public void GetFolderGraphAsync(int packageId, string path) {
this.GetFolderGraphAsync(packageId, path, null);
}
///
public void GetFolderGraphAsync(int packageId, string path, object userState) {
if ((this.GetFolderGraphOperationCompleted == null)) {
this.GetFolderGraphOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetFolderGraphOperationCompleted);
}
this.InvokeAsync("GetFolderGraph", new object[] {
packageId,
path}, this.GetFolderGraphOperationCompleted, userState);
}
private void OnGetFolderGraphOperationCompleted(object arg) {
if ((this.GetFolderGraphCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.GetFolderGraphCompleted(this, new GetFolderGraphCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
///
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/ExecuteSyncActions", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public void ExecuteSyncActions(int packageId, FileSyncAction[] actions) {
this.Invoke("ExecuteSyncActions", new object[] {
packageId,
actions});
}
///
public System.IAsyncResult BeginExecuteSyncActions(int packageId, FileSyncAction[] actions, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("ExecuteSyncActions", new object[] {
packageId,
actions}, callback, asyncState);
}
///
public void EndExecuteSyncActions(System.IAsyncResult asyncResult) {
this.EndInvoke(asyncResult);
}
///
public void ExecuteSyncActionsAsync(int packageId, FileSyncAction[] actions) {
this.ExecuteSyncActionsAsync(packageId, actions, null);
}
///
public void ExecuteSyncActionsAsync(int packageId, FileSyncAction[] actions, object userState) {
if ((this.ExecuteSyncActionsOperationCompleted == null)) {
this.ExecuteSyncActionsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnExecuteSyncActionsOperationCompleted);
}
this.InvokeAsync("ExecuteSyncActions", new object[] {
packageId,
actions}, this.ExecuteSyncActionsOperationCompleted, userState);
}
private void OnExecuteSyncActionsOperationCompleted(object arg) {
if ((this.ExecuteSyncActionsCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.ExecuteSyncActionsCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
//CO Changes
///
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/ApplyEnableHardQuotaFeature", RequestNamespace = "http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace = "http://smbsaas/websitepanel/enterpriseserver", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public int ApplyEnableHardQuotaFeature(int packageId)
{
object[] results = this.Invoke("ApplyEnableHardQuotaFeature", new object[] {
packageId });
return ((int)(results[0]));
}
//END
///
public new void CancelAsync(object userState) {
base.CancelAsync(userState);
}
}
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
public delegate void GetFilesCompletedEventHandler(object sender, GetFilesCompletedEventArgs e);
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class GetFilesCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
internal GetFilesCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
///
public SystemFile[] Result {
get {
this.RaiseExceptionIfNecessary();
return ((SystemFile[])(this.results[0]));
}
}
}
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
public delegate void GetFilesByMaskCompletedEventHandler(object sender, GetFilesByMaskCompletedEventArgs e);
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class GetFilesByMaskCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
internal GetFilesByMaskCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
///
public SystemFile[] Result {
get {
this.RaiseExceptionIfNecessary();
return ((SystemFile[])(this.results[0]));
}
}
}
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
public delegate void GetFileBinaryContentCompletedEventHandler(object sender, GetFileBinaryContentCompletedEventArgs e);
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class GetFileBinaryContentCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
internal GetFileBinaryContentCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
///
public byte[] Result {
get {
this.RaiseExceptionIfNecessary();
return ((byte[])(this.results[0]));
}
}
}
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
public delegate void GetFileBinaryContentUsingEncodingCompletedEventHandler(object sender, GetFileBinaryContentUsingEncodingCompletedEventArgs e);
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class GetFileBinaryContentUsingEncodingCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
internal GetFileBinaryContentUsingEncodingCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
///
public byte[] Result {
get {
this.RaiseExceptionIfNecessary();
return ((byte[])(this.results[0]));
}
}
}
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
public delegate void UpdateFileBinaryContentCompletedEventHandler(object sender, UpdateFileBinaryContentCompletedEventArgs e);
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class UpdateFileBinaryContentCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
internal UpdateFileBinaryContentCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
///
public int Result {
get {
this.RaiseExceptionIfNecessary();
return ((int)(this.results[0]));
}
}
}
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
public delegate void UpdateFileBinaryContentUsingEncodingCompletedEventHandler(object sender, UpdateFileBinaryContentUsingEncodingCompletedEventArgs e);
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class UpdateFileBinaryContentUsingEncodingCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
internal UpdateFileBinaryContentUsingEncodingCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
///
public int Result {
get {
this.RaiseExceptionIfNecessary();
return ((int)(this.results[0]));
}
}
}
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
public delegate void GetFileBinaryChunkCompletedEventHandler(object sender, GetFileBinaryChunkCompletedEventArgs e);
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class GetFileBinaryChunkCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
internal GetFileBinaryChunkCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
///
public byte[] Result {
get {
this.RaiseExceptionIfNecessary();
return ((byte[])(this.results[0]));
}
}
}
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
public delegate void AppendFileBinaryChunkCompletedEventHandler(object sender, AppendFileBinaryChunkCompletedEventArgs e);
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class AppendFileBinaryChunkCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
internal AppendFileBinaryChunkCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
///
public int Result {
get {
this.RaiseExceptionIfNecessary();
return ((int)(this.results[0]));
}
}
}
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
public delegate void DeleteFilesCompletedEventHandler(object sender, DeleteFilesCompletedEventArgs e);
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class DeleteFilesCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
internal DeleteFilesCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
///
public int Result {
get {
this.RaiseExceptionIfNecessary();
return ((int)(this.results[0]));
}
}
}
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
public delegate void CreateFileCompletedEventHandler(object sender, CreateFileCompletedEventArgs e);
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class CreateFileCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
internal CreateFileCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
///
public int Result {
get {
this.RaiseExceptionIfNecessary();
return ((int)(this.results[0]));
}
}
}
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
public delegate void CreateFolderCompletedEventHandler(object sender, CreateFolderCompletedEventArgs e);
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class CreateFolderCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
internal CreateFolderCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
///
public int Result {
get {
this.RaiseExceptionIfNecessary();
return ((int)(this.results[0]));
}
}
}
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
public delegate void CopyFilesCompletedEventHandler(object sender, CopyFilesCompletedEventArgs e);
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class CopyFilesCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
internal CopyFilesCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
///
public int Result {
get {
this.RaiseExceptionIfNecessary();
return ((int)(this.results[0]));
}
}
}
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
public delegate void MoveFilesCompletedEventHandler(object sender, MoveFilesCompletedEventArgs e);
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class MoveFilesCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
internal MoveFilesCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
///
public int Result {
get {
this.RaiseExceptionIfNecessary();
return ((int)(this.results[0]));
}
}
}
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
public delegate void RenameFileCompletedEventHandler(object sender, RenameFileCompletedEventArgs e);
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class RenameFileCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
internal RenameFileCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
///
public int Result {
get {
this.RaiseExceptionIfNecessary();
return ((int)(this.results[0]));
}
}
}
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
public delegate void UnzipFilesCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e);
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
public delegate void ZipFilesCompletedEventHandler(object sender, ZipFilesCompletedEventArgs e);
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class ZipFilesCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
internal ZipFilesCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
///
public int Result {
get {
this.RaiseExceptionIfNecessary();
return ((int)(this.results[0]));
}
}
}
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
public delegate void ZipRemoteFilesCompletedEventHandler(object sender, ZipRemoteFilesCompletedEventArgs e);
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class ZipRemoteFilesCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
internal ZipRemoteFilesCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
///
public int Result {
get {
this.RaiseExceptionIfNecessary();
return ((int)(this.results[0]));
}
}
}
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
public delegate void CreateAccessDatabaseCompletedEventHandler(object sender, CreateAccessDatabaseCompletedEventArgs e);
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class CreateAccessDatabaseCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
internal CreateAccessDatabaseCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
///
public int Result {
get {
this.RaiseExceptionIfNecessary();
return ((int)(this.results[0]));
}
}
}
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
public delegate void CalculatePackageDiskspaceCompletedEventHandler(object sender, CalculatePackageDiskspaceCompletedEventArgs e);
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class CalculatePackageDiskspaceCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
internal CalculatePackageDiskspaceCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
///
public int Result {
get {
this.RaiseExceptionIfNecessary();
return ((int)(this.results[0]));
}
}
}
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
public delegate void GetFilePermissionsCompletedEventHandler(object sender, GetFilePermissionsCompletedEventArgs e);
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class GetFilePermissionsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
internal GetFilePermissionsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
///
public UserPermission[] Result {
get {
this.RaiseExceptionIfNecessary();
return ((UserPermission[])(this.results[0]));
}
}
}
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
public delegate void SetFilePermissionsCompletedEventHandler(object sender, SetFilePermissionsCompletedEventArgs e);
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class SetFilePermissionsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
internal SetFilePermissionsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
///
public int Result {
get {
this.RaiseExceptionIfNecessary();
return ((int)(this.results[0]));
}
}
}
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
public delegate void GetFolderGraphCompletedEventHandler(object sender, GetFolderGraphCompletedEventArgs e);
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class GetFolderGraphCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
internal GetFolderGraphCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
///
public FolderGraph Result {
get {
this.RaiseExceptionIfNecessary();
return ((FolderGraph)(this.results[0]));
}
}
}
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
public delegate void ExecuteSyncActionsCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e);
}