Table of Contents

Class AsyncResult

Namespace
nanoFramework.SignalR.Client
Assembly
nanoFramework.SignalR.Client.dll

An asynchronous object that represents the invocation of InvokeCoreAsync(string, Type, object[], int) on the server.

public class AsyncResult
Inheritance
AsyncResult
Inherited Members
Extension Methods

Remarks

Just like an Async Completed indicates if the response from server is received. Calling Value before the server response will await the response from the server synchronously.

Properties

Completed

Indicates if the invocation of InvokeCoreAsync(string, Type, object[], int) on the server us completed.

public bool Completed { get; }

Property Value

bool

Error

Indicates if the invocation of InvokeCoreAsync(string, Type, object[], int) returned any errors.

public bool Error { get; }

Property Value

bool

Remarks

ErrorMessage contains the error details

ErrorMessage

Contains the error message returned by the invocation of InvokeCoreAsync(string, Type, object[], int).

public string ErrorMessage { get; }

Property Value

string

Remarks

This is null if no errors occurred.

ReturnType

The return Type of the invocation of InvokeCoreAsync(string, Type, object[], int).

public Type ReturnType { get; }

Property Value

Type

Value

The result from the asynchronous invocation of InvokeCoreAsync(string, Type, object[], int) on the server.

public object Value { get; }

Property Value

object

Remarks

Calling Value before the server call is Completed will await the response of the server synchronously.