Share via


ICluster.IsAsynchronous Property

Determines whether calls to the server are executed asynchronously.

Namespace: Microsoft.ComputeCluster
Assembly: CcpAPI (in ccpapi.dll)

Usage

Syntax

'Declaration
Property IsAsynchronous As Boolean
bool IsAsynchronous { get; set; }
property bool IsAsynchronous {
    bool get ();
    void set (bool value);
}
/** @property */
boolean get_IsAsynchronous ()

/** @property */
void set_IsAsynchronous (boolean value)
function get IsAsynchronous () : boolean

function set IsAsynchronous (value : boolean)

Property Value

The value is true if calls to the cluster are executed asynchronously. The value is false if the calls are executed synchronously (the default).

Remarks

By default, calls to the cluster are executed synchronously. The default behavior is the best choice for most applications. If enabled, calls return immediately. The caller must query the status of the node, job, or task to determine whether the operation succeeded or failed. The rate at which you poll is application dependent.

The following methods of the ICluster interface can execute asynchronously:

Note that QueueJob and SubmitJob are non-blocking operations.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Microsoft Windows Compute Cluster Server 2003, Windows Server 2003, Windows XP

Target Platforms

Microsoft Windows Compute Cluster Server 2003, Windows Server 2003 with Compute Cluster Pack Client Utilities, Windows XP with Compute Cluster Pack Client Utilities

See Also

Reference

ICluster Interface
ICluster Members
Microsoft.ComputeCluster Namespace