GetConnectionAsync Method
Overloads
| GetConnectionAsync(String) |
Retrieves a connection and returns: * The creation time of the connection. * The identifier of the connection. * The type of the connection. * The name of the connection. * The connection string. |
|
| GetConnectionAsync(AsyncHandle, String) |
Retrieves a connection and returns: * The creation time of the connection. * The identifier of the connection. * The type of the connection. * The name of the connection. * The connection string. |
|
| GetConnectionAsync<T>(AsyncHandle, Func<Response, T>, String) |
Retrieves a connection and returns: * The creation time of the connection. * The identifier of the connection. * The type of the connection. * The name of the connection. * The connection string. |
GetConnectionAsync(String)
Retrieves a connection and returns:
- The creation time of the connection.
- The identifier of the connection.
- The type of the connection.
- The name of the connection.
- The connection string.
Declaration
public Task<Connection> GetConnectionAsync([QixName("qConnectionId")] string connectionId)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | connectionId |
Identifier of the connection. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<Connection> |
Implements
GetConnectionAsync(AsyncHandle, String)
Retrieves a connection and returns:
- The creation time of the connection.
- The identifier of the connection.
- The type of the connection.
- The name of the connection.
- The connection string.
Declaration
public Task<Connection> GetConnectionAsync(AsyncHandle asyncHandle, [QixName("qConnectionId")] string connectionId)
Parameters
| Type | Name | Description |
|---|---|---|
| AsyncHandle | asyncHandle |
Handle to asynchronous method request |
| System.String | connectionId |
Identifier of the connection. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<Connection> |
Implements
GetConnectionAsync<T>(AsyncHandle, Func<Response, T>, String)
Retrieves a connection and returns:
- The creation time of the connection.
- The identifier of the connection.
- The type of the connection.
- The name of the connection.
- The connection string.
Declaration
public Task<T> GetConnectionAsync<T>(AsyncHandle asyncHandle, Func<Response, T> onResult, [QixName("qConnectionId")] string connectionId)
Parameters
| Type | Name | Description |
|---|---|---|
| AsyncHandle | asyncHandle |
Handle to asynchronous method request |
| System.Func<Response, T> | onResult |
Continuation function |
| System.String | connectionId |
Identifier of the connection. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<T> |
Type Parameters
| Name | Description |
|---|---|
| T |