Click or drag to resize
ConnectionExtensionsApplyAsync Method
Get the result of executing the specified AML query

Namespace: Innovator.Client
Assembly: Innovator.Client (in Innovator.Client.dll) Version: 2016.1.15.1759 (2016.01.15.1759)
Syntax
public static IPromise<IReadOnlyResult> ApplyAsync(
	this IAsyncConnection conn,
	Command query,
	bool async,
	bool noItemsIsError,
	params Object[] parameters
)

Parameters

conn
Type: Innovator.ClientIAsyncConnection
Connection to execute the query on
query
Type: Innovator.ClientCommand
Query to be performed. If parameters are specified, they will be substituted into the query
async
Type: SystemBoolean
Whether to perform the query asynchronously
noItemsIsError
Type: SystemBoolean
Whether a 'No items found' exception should be signaled to the IPromise as an exception
parameters
Type: SystemObject
Parameters to be injected into the query

Return Value

Type: IPromiseIReadOnlyResult
A read-only result

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IAsyncConnection. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also