SolidFireElementGetAsyncResultAsync Method (CancellationToken, Int64, NullableBoolean) |
You can use GetAsyncResult to retrieve the result of asynchronous method calls. Some method calls require some time to run, and
might not be finished when the system sends the initial response. To obtain the status or result of the method call, use
GetAsyncResult to poll the asyncHandle value returned by the method.
GetAsyncResult returns the overall status of the operation (in progress, completed, or error) in a standard fashion, but the actual
data returned for the operation depends on the original method call and the return data is documented with each method.
Namespace:
SolidFire.Element.Api
Assembly:
SolidFire.SDK (in SolidFire.SDK.dll) Version: 12.3.0.0
Syntax public Task<Hashtable> GetAsyncResultAsync(
CancellationToken cancellationToken,
long AsyncHandle,
Nullable<bool> KeepResult = null
)
Parameters
- cancellationToken
- Type: System.ThreadingCancellationToken
- AsyncHandle
- Type: SystemInt64
- KeepResult (Optional)
- Type: SystemNullableBoolean
Return Value
Type:
TaskHashtableImplements
ISolidFireElementGetAsyncResultAsync(CancellationToken, Int64, NullableBoolean)See Also