Skip to main content Skip to complementary content

CheckExpressionAsync Method

Overloads

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.

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!