ChangeSessionAppOwnerAsync Method
Overloads
| ChangeSessionAppOwnerAsync(String) |
Change the owner of a session app. |
|
| ChangeSessionAppOwnerAsync(AsyncHandle, String) |
Change the owner of a session app. |
|
| ChangeSessionAppOwnerAsync<T>(AsyncHandle, Func<Response, T>, String) |
Change the owner of a session app. |
ChangeSessionAppOwnerAsync(String)
Change the owner of a session app.
Declaration
public Task<bool> ChangeSessionAppOwnerAsync([QixName("qNewOwnerId")] string newOwnerId)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | newOwnerId |
Identifier of the new app owner. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<System.Boolean> |
Implements
Remarks
Can be used by a privileged user when creating a session app to be consumed by another user. Only useful in environments where it is possible to reconnect to a session app, currently only in cloud deployments.
ChangeSessionAppOwnerAsync(AsyncHandle, String)
Change the owner of a session app.
Declaration
public Task<bool> ChangeSessionAppOwnerAsync(AsyncHandle asyncHandle, [QixName("qNewOwnerId")] string newOwnerId)
Parameters
| Type | Name | Description |
|---|---|---|
| AsyncHandle | asyncHandle |
Handle to asynchronous method request |
| System.String | newOwnerId |
Identifier of the new app owner. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<System.Boolean> |
Implements
Remarks
Can be used by a privileged user when creating a session app to be consumed by another user. Only useful in environments where it is possible to reconnect to a session app, currently only in cloud deployments.
ChangeSessionAppOwnerAsync<T>(AsyncHandle, Func<Response, T>, String)
Change the owner of a session app.
Declaration
public Task<T> ChangeSessionAppOwnerAsync<T>(AsyncHandle asyncHandle, Func<Response, T> onResult, [QixName("qNewOwnerId")] string newOwnerId)
Parameters
| Type | Name | Description |
|---|---|---|
| AsyncHandle | asyncHandle |
Handle to asynchronous method request |
| System.Func<Response, T> | onResult |
Continuation function |
| System.String | newOwnerId |
Identifier of the new app owner. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<T> |
Type Parameters
| Name | Description |
|---|---|
| T |
Implements
Remarks
Can be used by a privileged user when creating a session app to be consumed by another user. Only useful in environments where it is possible to reconnect to a session app, currently only in cloud deployments.