Skip to main content Skip to complementary content

CreateVariableAsync Method

Overloads

CreateVariableAsync(String)

Creates a variable.

Declaration

      [Obsolete("Use _Doc::CreateVariableEx_ method instead")]
Task<bool> CreateVariableAsync([QixName("qName")] string name)
    

Parameters

Type Name Description
System.String name

Name of the variable. Variable names are case sensitive.

Returns

Type Description
System.Threading.Tasks.Task<System.Boolean>

Remarks

The operation is successful if qReturn is set to true.

CreateVariableAsync(AsyncHandle, String)

Creates a variable.

Declaration

      [Obsolete("Use _Doc::CreateVariableEx_ method instead")]
Task<bool> CreateVariableAsync(AsyncHandle asyncHandle, [QixName("qName")] string name)
    

Parameters

Type Name Description
AsyncHandle asyncHandle

Handle to asynchronous method request

System.String name

Name of the variable. Variable names are case sensitive.

Returns

Type Description
System.Threading.Tasks.Task<System.Boolean>

Remarks

The operation is successful if qReturn is set to true.

CreateVariableAsync<T>(AsyncHandle, Func<Response, T>, String)

Creates a variable.

Declaration

      [Obsolete("Use _Doc::CreateVariableEx_ method instead")]
Task<T> CreateVariableAsync<T>(AsyncHandle asyncHandle, Func<Response, T> onResult, [QixName("qName")] string name)
    

Parameters

Type Name Description
AsyncHandle asyncHandle

Handle to asynchronous method request

System.Func<Response, T> onResult

Continuation function

System.String name

Name of the variable. Variable names are case sensitive.

Returns

Type Description
System.Threading.Tasks.Task<T>

Type Parameters

Name Description
T

Remarks

The operation is successful if qReturn is set to true.

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!