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
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 |
GetObjectAsync<T, TI>(String, AsyncHandle)
Get an object
Declaration
[QixName("GetObject")]
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 |
Did this page help you?
If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!