DestroyChildAsync Method
Overloads
DestroyChildAsync(AsyncHandle, String, GenericObjectProperties) |
Removes a child object. |
|
DestroyChildAsync<T>(AsyncHandle, Func<Response, T>, String, GenericObjectProperties) |
Removes a child object. |
|
DestroyChildAsync(String, GenericObjectProperties) |
Removes a child object. |
DestroyChildAsync(AsyncHandle, String, GenericObjectProperties)
Removes a child object.
Declaration
public Task<bool> DestroyChildAsync(AsyncHandle asyncHandle, [QixName("qId")] string id, [QixName("qPropForThis")] GenericObjectProperties propForThis)
Parameters
Type | Name | Description |
---|---|---|
AsyncHandle | asyncHandle |
Handle to asynchronous method request |
System.String | id |
Identifier of the child to remove. |
GenericObjectProperties | propForThis |
Identifier of the parent's object and property to update. Should be set to update the properties of the parent's object at the same time the child is created. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.Boolean> |
Implements
Remarks
It is possible to update the properties of the child's parent at the same time that the child is removed. Both operations are performed by the same call.
DestroyChildAsync<T>(AsyncHandle, Func<Response, T>, String, GenericObjectProperties)
Removes a child object.
Declaration
public Task<T> DestroyChildAsync<T>(AsyncHandle asyncHandle, Func<Response, T> onResult, [QixName("qId")] string id, [QixName("qPropForThis")] GenericObjectProperties propForThis)
Parameters
Type | Name | Description |
---|---|---|
AsyncHandle | asyncHandle |
Handle to asynchronous method request |
System.Func<Response, T> | onResult |
Continuation function |
System.String | id |
Identifier of the child to remove. |
GenericObjectProperties | propForThis |
Identifier of the parent's object and property to update. Should be set to update the properties of the parent's object at the same time the child is created. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<T> |
Type Parameters
Name | Description |
---|---|
T |
Implements
Remarks
It is possible to update the properties of the child's parent at the same time that the child is removed. Both operations are performed by the same call.
DestroyChildAsync(String, GenericObjectProperties)
Removes a child object.
Declaration
public Task<bool> DestroyChildAsync([QixName("qId")] string id, [QixName("qPropForThis")] GenericObjectProperties propForThis = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | id |
Identifier of the child to remove. |
GenericObjectProperties | propForThis |
Identifier of the parent's object and property to update. Should be set to update the properties of the parent's object at the same time the child is created. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.Boolean> |
Implements
Remarks
It is possible to update the properties of the child's parent at the same time that the child is removed. Both operations are performed by the same call.
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!