CreateGenericSessionObjectAsync Method
Overloads
| CreateGenericSessionObjectAsync(GenericObjectProperties) |
Creates a transient object. For example, you can use a transient object to create an app overview or a story overview. It is possible to create a transient 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. |
|
| CreateGenericSessionObjectAsync(AsyncHandle, GenericObjectProperties) |
Creates a transient object. For example, you can use a transient object to create an app overview or a story overview. It is possible to create a transient 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. |
|
| CreateGenericSessionObjectAsync<T>(AsyncHandle, Func<Response, T>, GenericObjectProperties) |
Creates a transient object. For example, you can use a transient object to create an app overview or a story overview. It is possible to create a transient 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. |
CreateGenericSessionObjectAsync(GenericObjectProperties)
Creates a transient object. For example, you can use a transient object to create an app overview or a story overview.
It is possible to create a transient 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("CreateSessionObject")]
Task<GenericObject> CreateGenericSessionObjectAsync([QixName("qProp")] GenericObjectProperties prop)
Parameters
| Type | Name | Description |
|---|---|---|
| GenericObjectProperties | prop |
Information about the object. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<GenericObject> |
Remarks
The linking object cannot be a transient object.
CreateGenericSessionObjectAsync(AsyncHandle, GenericObjectProperties)
Creates a transient object. For example, you can use a transient object to create an app overview or a story overview.
It is possible to create a transient 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("CreateSessionObject")]
Task<GenericObject> CreateGenericSessionObjectAsync(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<GenericObject> |
Remarks
The linking object cannot be a transient object.
CreateGenericSessionObjectAsync<T>(AsyncHandle, Func<Response, T>, GenericObjectProperties)
Creates a transient object. For example, you can use a transient object to create an app overview or a story overview.
It is possible to create a transient 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("CreateSessionObject")]
Task<T> CreateGenericSessionObjectAsync<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.