Click or drag to resize

AsyncResultTResult Class

Base class to encapsulates the results of an asynchronous operation that returns result.
Inheritance Hierarchy

Namespace: Crestron.SimplSharp.Ssh.Common
Assembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntax
C#
public abstract class AsyncResult<TResult> : AsyncResult

Type Parameters

TResult
The type of the result.

The AsyncResultTResult type exposes the following members.

Constructors
 NameDescription
Public methodAsyncResultTResult Initializes a new instance of the AsyncResultTResult class.
Top
Properties
 NameDescription
Public propertyAsyncState Gets a user-defined object that qualifies or contains information about an asynchronous operation.
(Inherited from AsyncResult)
Public propertyAsyncWaitHandle Gets a WaitHandle that is used to wait for an asynchronous operation to complete.
(Inherited from AsyncResult)
Public propertyCompletedSynchronously Gets a value that indicates whether the asynchronous operation completed synchronously.
(Inherited from AsyncResult)
Public propertyEndInvokeCalled Gets or sets a value indicating whether EndInvoke has been called on the current AsyncResult.
(Inherited from AsyncResult)
Public propertyInnerObject For internal use only.
(Inherited from AsyncResult)
Public propertyIsCompleted Gets a value that indicates whether the asynchronous operation has completed.
(Inherited from AsyncResult)
Top
Methods
 NameDescription
Public methodEndInvoke Waits until the asynchronous operation completes, and then returns the value generated by the asynchronous operation.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodSetAsCompleted(TResult, Boolean) Marks asynchronous operation as completed.
Public methodSetAsCompleted(Exception, Boolean) Marks asynchronous operation as completed.
(Inherited from AsyncResult)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also