C# Класс Renci.SshNet.Common.AsyncResult

Base class to encapsulates the results of an asynchronous operation.
Наследование: IAsyncResult
Показать файл Открыть проект

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

Метод Описание
EndInvoke ( ) : void

Waits until the asynchronous operation completes, and then returns.

SetAsCompleted ( Exception exception, bool completedSynchronously ) : void

Marks asynchronous operation as completed.

Защищенные методы

Метод Описание
AsyncResult ( AsyncCallback asyncCallback, object state ) : System

Initializes a new instance of the AsyncResult class.

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

AsyncResult() защищенный Метод

Initializes a new instance of the AsyncResult class.
protected AsyncResult ( AsyncCallback asyncCallback, object state ) : System
asyncCallback AsyncCallback The async callback.
state object The state.
Результат System

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

Waits until the asynchronous operation completes, and then returns.
public EndInvoke ( ) : void
Результат void

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

Marks asynchronous operation as completed.
public SetAsCompleted ( Exception exception, bool completedSynchronously ) : void
exception System.Exception The exception.
completedSynchronously bool if set to true [completed synchronously].
Результат void