async Property

This topic documents a feature of Binary Behaviors, which are obsolete as of Internet Explorer 10.

Specifies the mode of remote method invocation.

Syntax

HTML N/A
Scripting [ objCallasync = ] objCall.async

Possible Values

objCall An instance of the call object.
async A Boolean that specifies the mode of remote method invocation.
true
Default. The call object specifies that remote methods are invoked asynchronously.
false
The call object specifies that remote methods are invoked synchronously.

The property is read-only. The property has a default value of true.

Remarks

This is a property of the call object, which can be passed as a parameter to the callService method.

When this property is set to false to invoke synchronous communication, use the onserviceavailable event to determine when the service is ready to accept method calls. For an example of using synchronous communication with the WebService Behavior, see the call object.

For this property to be applied to a remote method invocation, the call object must be passed as the fo parameter of the callService method.

Applies To

call, WebService

See Also

callService, funcName, password, portName, SOAPHeader, timeout, userName