C# Класс csExWB.AsynchDownloadRequestEventArgs

Event arguments for AsynchDownloadRequestEventHandler delegate.
Наследование: System.EventArgs
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
AsynchDownloadRequestEventArgs ( string protocol, string url, string referer, byte post, string PostDataMimeType, object browser, object sink, bool needfilename ) : System
CancelDownloadRequest ( int Inet_Error_Code ) : void

Call this method to cancel a download request from the CExWb browser control.

Method can be invoked either on the same thread as the ProtocolHandlerOnStart event was raised on, or on a backgroud thread. This method can only be invoked once.

DownloadCompleted ( byte data, string Url, string mimeType ) : void

Call this method to transfer the downloaded data and finish the download request. Call can either happen on the same thread as the OnStart event was raised on, or on a backgroud thread. This method can only be invoked once.

Method can be invoked either on the same thread as the ProtocolHandlerOnStart event was raised on, or on a backgroud thread. This method can only be invoked once.

DownloadCompletedNeedFileName ( string Url, string mimeType, string CacheFileName ) : void

Описание методов

AsynchDownloadRequestEventArgs() публичный Метод

public AsynchDownloadRequestEventArgs ( string protocol, string url, string referer, byte post, string PostDataMimeType, object browser, object sink, bool needfilename ) : System
protocol string
url string
referer string
post byte
PostDataMimeType string
browser object
sink object
needfilename bool
Результат System

CancelDownloadRequest() публичный Метод

Call this method to cancel a download request from the CExWb browser control.
Method can be invoked either on the same thread as the ProtocolHandlerOnStart event was raised on, or on a backgroud thread. This method can only be invoked once.
public CancelDownloadRequest ( int Inet_Error_Code ) : void
Inet_Error_Code int
Результат void

DownloadCompleted() публичный Метод

Call this method to transfer the downloaded data and finish the download request. Call can either happen on the same thread as the OnStart event was raised on, or on a backgroud thread. This method can only be invoked once.
Method can be invoked either on the same thread as the ProtocolHandlerOnStart event was raised on, or on a backgroud thread. This method can only be invoked once.
public DownloadCompleted ( byte data, string Url, string mimeType ) : void
data byte Downloaded data (payload)
Url string Url of downloaded data, use to signal redirected downloads
mimeType string Mime type reported by server, leave blank if none
Результат void

DownloadCompletedNeedFileName() публичный Метод

public DownloadCompletedNeedFileName ( string Url, string mimeType, string CacheFileName ) : void
Url string
mimeType string
CacheFileName string
Результат void