C# Class PaulStovell.TrialBalance.Website.UploadBuildTask.FilePublishingServiceProxy.FilePublishingService

Inheritance: System.Web.Services.Protocols.SoapHttpClientProtocol
Exibir arquivo Open project: PaulStovell/trial-balance

Public Methods

Method Description
CancelAsync ( object userState ) : void
FilePublishingService ( ) : System.Diagnostics
UploadManagedFileAsync ( string username, string password, string fileName, string contentType, byte fileContent ) : void
UploadManagedFileAsync ( string username, string password, string fileName, string contentType, byte fileContent, object userState ) : void
UploadUnmanagedFileAsync ( string username, string password, string filePath, byte fileContent ) : void
UploadUnmanagedFileAsync ( string username, string password, string filePath, byte fileContent, object userState ) : void

Private Methods

Method Description
IsLocalFileSystemWebService ( string url ) : bool
OnUploadManagedFileOperationCompleted ( object arg ) : void
OnUploadUnmanagedFileOperationCompleted ( object arg ) : void
UploadManagedFile ( string username, string password, string fileName, string contentType, [ DataType = "base64Binary")]byte[]fileContent ) : string
UploadUnmanagedFile ( string username, string password, string filePath, [ DataType = "base64Binary")]byte[]fileContent ) : void

Method Details

CancelAsync() public method

public CancelAsync ( object userState ) : void
userState object
return void

FilePublishingService() public method

public FilePublishingService ( ) : System.Diagnostics
return System.Diagnostics

UploadManagedFileAsync() public method

public UploadManagedFileAsync ( string username, string password, string fileName, string contentType, byte fileContent ) : void
username string
password string
fileName string
contentType string
fileContent byte
return void

UploadManagedFileAsync() public method

public UploadManagedFileAsync ( string username, string password, string fileName, string contentType, byte fileContent, object userState ) : void
username string
password string
fileName string
contentType string
fileContent byte
userState object
return void

UploadUnmanagedFileAsync() public method

public UploadUnmanagedFileAsync ( string username, string password, string filePath, byte fileContent ) : void
username string
password string
filePath string
fileContent byte
return void

UploadUnmanagedFileAsync() public method

public UploadUnmanagedFileAsync ( string username, string password, string filePath, byte fileContent, object userState ) : void
username string
password string
filePath string
fileContent byte
userState object
return void