Elib 0.7
C# library for e-Puck robot
|
Class used in System.IAsyncResult for example in Epuck.EndFtion It does not allow to return an answer. More...
Public Member Functions | |
AsyncResultNoResult (AsyncCallback asyncCallback, Object state, string name_) | |
Initializes a new instance of the AsyncResultNoResult class. | |
AsyncResultNoResult (AsyncCallback asyncCallback, Object state) | |
Initializes a new instance of the AsyncResultNoResult class. | |
void | SetAsCompleted (Exception exception, Boolean completedSynchronously) |
Used for signalling, that an exception has been thrown during waiting to end of operation. | |
void | EndInvoke () |
Synchronously wait until the operation is pending. | |
Properties | |
string | Name [get, set] |
Gets or sets the name. It allows easy debugging and determine, which command is using T:AsyncResultNoResult | |
Object | AsyncState [get] |
Gets a user-defined object that qualifies or contains information about an asynchronous operation. | |
Boolean | CompletedSynchronously [get] |
Gets an indication of whether the asynchronous operation completed synchronously. | |
WaitHandle | AsyncWaitHandle [get] |
Gets a T:System.Threading.WaitHandle that is used to wait for an asynchronous operation to complete. | |
Boolean | IsCompleted [get] |
Gets an indication whether the asynchronous operation has completed. |
Class used in System.IAsyncResult for example in Epuck.EndFtion It does not allow to return an answer.
Elib.AsyncResultNoResult.AsyncResultNoResult | ( | AsyncCallback | asyncCallback, |
Object | state, | ||
string | name_ | ||
) |
Initializes a new instance of the AsyncResultNoResult class.
asyncCallback | The async callback. |
state | The state. |
name_ | The name_. |
Elib.AsyncResultNoResult.AsyncResultNoResult | ( | AsyncCallback | asyncCallback, |
Object | state | ||
) |
Initializes a new instance of the AsyncResultNoResult class.
asyncCallback | The async callback. |
state | The state. |
void Elib.AsyncResultNoResult.EndInvoke | ( | ) |
Synchronously wait until the operation is pending.
Reimplemented in Elib.AsyncResult< TResult >.
void Elib.AsyncResultNoResult.SetAsCompleted | ( | Exception | exception, |
Boolean | completedSynchronously | ||
) |
Used for signalling, that an exception has been thrown during waiting to end of operation.
exception | The exception. |
completedSynchronously | if set to true [completed synchronously]. |
Object Elib.AsyncResultNoResult.AsyncState [get] |
Gets a user-defined object that qualifies or contains information about an asynchronous operation.
WaitHandle Elib.AsyncResultNoResult.AsyncWaitHandle [get] |
Gets a T:System.Threading.WaitHandle that is used to wait for an asynchronous operation to complete.
Boolean Elib.AsyncResultNoResult.CompletedSynchronously [get] |
Gets an indication of whether the asynchronous operation completed synchronously.
Boolean Elib.AsyncResultNoResult.IsCompleted [get] |
Gets an indication whether the asynchronous operation has completed.
string Elib.AsyncResultNoResult.Name [get, set] |
Gets or sets the name. It allows easy debugging and determine, which command is using T:AsyncResultNoResult
The name of function, which called the 'Begin' function.