Свойство | Тип | Описание | |
---|---|---|---|
AsyncRequestCallback | void | ||
AttemptedRecovery | bool | ||
CheckError | void | ||
CreateConnection | |||
CreateConnectionAsync | void | ||
DataStreamClosed | void | ||
EnsureFtpWebResponse | void | ||
FinishRequestStage | RequestStage | ||
FtpWebRequest | |||
FtpWebRequest | System.Diagnostics | ||
GetUserString | string | ||
RequestCallback | void | ||
SetException | void | ||
SubmitRequest | void | ||
SyncRequestCallback | void | ||
TimedSubmitRequestHelper | |||
TimerCallback | void | ||
TranslateConnectException | Exception |
Метод | Описание | |
---|---|---|
Abort ( ) : void | ||
BeginGetRequestStream ( AsyncCallback callback, object state ) : IAsyncResult |
Used to query for the Request stream of an FTP Request [async version]
|
|
BeginGetRequestStream ( System callback, object state ) : System.IAsyncResult | ||
BeginGetResponse ( AsyncCallback callback, object state ) : IAsyncResult |
Used to query for the Response of an FTP request [async version]
|
|
BeginGetResponse ( System callback, object state ) : System.IAsyncResult | ||
EndGetRequestStream ( IAsyncResult asyncResult ) : |
||
EndGetRequestStream ( System asyncResult ) : System.IO.Stream | ||
EndGetResponse ( System asyncResult ) : System.Net.WebResponse | ||
EndGetResponse ( IAsyncResult asyncResult ) : |
Returns result of query for the Response of an FTP request [async version]
|
|
GetRequestStream ( ) : |
Used to query for the Request stream of an FTP Request
|
|
GetRequestStream ( ) : System.IO.Stream | ||
GetResponse ( ) : System.Net.WebResponse | ||
GetResponse ( ) : |
Метод | Описание | |
---|---|---|
AsyncRequestCallback ( object obj ) : void | ||
AttemptedRecovery ( Exception e ) : bool |
Returns true if we should restart the request after an error
|
|
CheckError ( ) : void |
Opposite of SetException, rethrows the exception
|
|
CreateConnection ( ) : |
||
CreateConnectionAsync ( ) : void | ||
DataStreamClosed ( CloseExState closeState ) : void | ||
EnsureFtpWebResponse ( Exception exception ) : void |
Creates an FTP WebResponse based off the responseStream and our active Connection
|
|
FinishRequestStage ( RequestStage stage ) : RequestStage | ||
FtpWebRequest ( ) | ||
FtpWebRequest ( Uri uri ) : System.Diagnostics | ||
GetUserString ( ) : string |
Returns username string
|
|
RequestCallback ( object obj ) : void | ||
SetException ( Exception exception ) : void |
Updates and sets our exception to be thrown
|
|
SubmitRequest ( bool isAsync ) : void | ||
SyncRequestCallback ( object obj ) : void | ||
TimedSubmitRequestHelper ( bool isAsync ) : |
||
TimerCallback ( |
Because this is called from the timer thread, neither it nor any methods it calls can call user code.
|
|
TranslateConnectException ( Exception e ) : Exception |
public BeginGetRequestStream ( AsyncCallback callback, object state ) : IAsyncResult | ||
callback | AsyncCallback | |
state | object | |
Результат | IAsyncResult |
public BeginGetRequestStream ( System callback, object state ) : System.IAsyncResult | ||
callback | System | |
state | object | |
Результат | System.IAsyncResult |
public BeginGetResponse ( AsyncCallback callback, object state ) : IAsyncResult | ||
callback | AsyncCallback | |
state | object | |
Результат | IAsyncResult |
public BeginGetResponse ( System callback, object state ) : System.IAsyncResult | ||
callback | System | |
state | object | |
Результат | System.IAsyncResult |
public EndGetRequestStream ( IAsyncResult asyncResult ) : |
||
asyncResult | IAsyncResult | |
Результат |
public EndGetRequestStream ( System asyncResult ) : System.IO.Stream | ||
asyncResult | System | |
Результат | System.IO.Stream |
public EndGetResponse ( System asyncResult ) : System.Net.WebResponse | ||
asyncResult | System | |
Результат | System.Net.WebResponse |
public EndGetResponse ( IAsyncResult asyncResult ) : |
||
asyncResult | IAsyncResult | |
Результат |
public GetRequestStream ( ) : System.IO.Stream | ||
Результат | System.IO.Stream |
public GetResponse ( ) : System.Net.WebResponse | ||
Результат | System.Net.WebResponse |