GetObjectAsync Method
Overloads
| GetObjectAsync<T>(String, AsyncHandle) | Get an object | |
| GetObjectAsync<T, TI>(String, AsyncHandle) | Get an object | 
GetObjectAsync<T>(String, AsyncHandle)
Get an object
Declaration
      public Task<T> GetObjectAsync<T>([QixName("qId")] string id, AsyncHandle asyncHandle)
    where T : GenericObject
    
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | id | Object id | 
| AsyncHandle | asyncHandle | A token / string returned in the answer | 
Returns
| Type | Description | 
|---|---|
| System.Threading.Tasks.Task<T> | A task with the object as result | 
Type Parameters
| Name | Description | 
|---|---|
| T | The type to get | 
Implements
GetObjectAsync<T, TI>(String, AsyncHandle)
Get an object
Declaration
      [QixName("GetObject")]
public Task<TI> GetObjectAsync<T, TI>([QixName("qId")] string id, AsyncHandle asyncHandle)
    where T : GenericObject, TI
    
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | id | Object id | 
| AsyncHandle | asyncHandle | A token / string returned in the answer | 
Returns
| Type | Description | 
|---|---|
| System.Threading.Tasks.Task<TI> | A task with the interface as result | 
Type Parameters
| Name | Description | 
|---|---|
| T | The type to get | 
| TI | The interface to return |