Skip to main content Skip to complementary content

GetObjectAsync Method

Overloads

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

Implements

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!