CreateGenericObjectAsync Method
Overloads
| CreateGenericObjectAsync(GenericObjectProperties) |
Creates a generic object at app level. For more information on generic objects, see It is possible to create a generic object that is linked to another object. A linked object is an object that points to a linking object. The linking object is defined in the properties of the linked object (in The linked object has the same properties as the linking object. |
|
| CreateGenericObjectAsync(AsyncHandle, GenericObjectProperties) |
Creates a generic object at app level. For more information on generic objects, see It is possible to create a generic object that is linked to another object. A linked object is an object that points to a linking object. The linking object is defined in the properties of the linked object (in The linked object has the same properties as the linking object. |
|
| CreateGenericObjectAsync<T>(AsyncHandle, Func<Response, T>, GenericObjectProperties) |
Creates a generic object at app level. For more information on generic objects, see It is possible to create a generic object that is linked to another object. A linked object is an object that points to a linking object. The linking object is defined in the properties of the linked object (in The linked object has the same properties as the linking object. |
CreateGenericObjectAsync(GenericObjectProperties)
Creates a generic object at app level. For more information on generic objects, see Generic object.
It is possible to create a generic object that is linked to another object.
A linked object is an object that points to a linking object. The linking object is defined in the properties of the linked object (in qExtendsId ).
The linked object has the same properties as the linking object.
Declaration
[QixName("CreateObject")]
Task<CreateGenericObjectResult> CreateGenericObjectAsync([QixName("qProp")] GenericObjectProperties prop)
Parameters
| Type | Name | Description |
|---|---|---|
| GenericObjectProperties | prop |
Information about the object. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<CreateGenericObjectResult> |
Remarks
The linking object cannot be a transient object.
CreateGenericObjectAsync(AsyncHandle, GenericObjectProperties)
Creates a generic object at app level. For more information on generic objects, see Generic object.
It is possible to create a generic object that is linked to another object.
A linked object is an object that points to a linking object. The linking object is defined in the properties of the linked object (in qExtendsId ).
The linked object has the same properties as the linking object.
Declaration
[QixName("CreateObject")]
Task<CreateGenericObjectResult> CreateGenericObjectAsync(AsyncHandle asyncHandle, [QixName("qProp")] GenericObjectProperties prop)
Parameters
| Type | Name | Description |
|---|---|---|
| AsyncHandle | asyncHandle |
Handle to asynchronous method request |
| GenericObjectProperties | prop |
Information about the object. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<CreateGenericObjectResult> |
Remarks
The linking object cannot be a transient object.
CreateGenericObjectAsync<T>(AsyncHandle, Func<Response, T>, GenericObjectProperties)
Creates a generic object at app level. For more information on generic objects, see Generic object.
It is possible to create a generic object that is linked to another object.
A linked object is an object that points to a linking object. The linking object is defined in the properties of the linked object (in qExtendsId ).
The linked object has the same properties as the linking object.
Declaration
[QixName("CreateObject")]
Task<T> CreateGenericObjectAsync<T>(AsyncHandle asyncHandle, Func<Response, T> onResult, [QixName("qProp")] GenericObjectProperties prop)
Parameters
| Type | Name | Description |
|---|---|---|
| AsyncHandle | asyncHandle |
Handle to asynchronous method request |
| System.Func<Response, T> | onResult |
Continuation function |
| GenericObjectProperties | prop |
Information about the object. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<T> |
Type Parameters
| Name | Description |
|---|---|
| T |
Remarks
The linking object cannot be a transient object.