CheckExpressionAsync Method
Overloads
| CheckExpressionAsync(String, IEnumerable<String>) |
Checks if a given expression is valid. |
|
| CheckExpressionAsync(AsyncHandle, String, IEnumerable<String>) |
Checks if a given expression is valid. |
|
| CheckExpressionAsync<T>(AsyncHandle, Func<Response, T>, String, IEnumerable<String>) |
Checks if a given expression is valid. |
CheckExpressionAsync(String, IEnumerable<String>)
Checks if a given expression is valid.
Declaration
public Task<CheckExpressionResult> CheckExpressionAsync([QixName("qExpr")] string expr, [QixName("qLabels")] IEnumerable<string> labels = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | expr |
Expression to check. |
| System.Collections.Generic.IEnumerable<System.String> | labels |
List of labels. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<CheckExpressionResult> |
Implements
Remarks
The expression is correct if the parameters qErrorMsg , qBadFieldNames and qDangerousFieldNames are empty.
CheckExpressionAsync(AsyncHandle, String, IEnumerable<String>)
Checks if a given expression is valid.
Declaration
public Task<CheckExpressionResult> CheckExpressionAsync(AsyncHandle asyncHandle, [QixName("qExpr")] string expr, [QixName("qLabels")] IEnumerable<string> labels = null)
Parameters
| Type | Name | Description |
|---|---|---|
| AsyncHandle | asyncHandle |
Handle to asynchronous method request |
| System.String | expr |
Expression to check. |
| System.Collections.Generic.IEnumerable<System.String> | labels |
List of labels. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<CheckExpressionResult> |
Implements
Remarks
The expression is correct if the parameters qErrorMsg , qBadFieldNames and qDangerousFieldNames are empty.
CheckExpressionAsync<T>(AsyncHandle, Func<Response, T>, String, IEnumerable<String>)
Checks if a given expression is valid.
Declaration
public Task<T> CheckExpressionAsync<T>(AsyncHandle asyncHandle, Func<Response, T> onResult, [QixName("qExpr")] string expr, [QixName("qLabels")] IEnumerable<string> labels = null)
Parameters
| Type | Name | Description |
|---|---|---|
| AsyncHandle | asyncHandle |
Handle to asynchronous method request |
| System.Func<Response, T> | onResult |
Continuation function |
| System.String | expr |
Expression to check. |
| System.Collections.Generic.IEnumerable<System.String> | labels |
List of labels. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<T> |
Type Parameters
| Name | Description |
|---|---|
| T |
Implements
Remarks
The expression is correct if the parameters qErrorMsg , qBadFieldNames and qDangerousFieldNames are empty.