ICluster.Timeout Property

Retrieves or sets the maximum time that the application will wait for a response from the cluster when making synchronous calls.

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

Usage

Syntax

'Declaration
Property Timeout As Integer
int Timeout { get; set; }
property int Timeout {
    int get ();
    void set (int value);
}
/** @property */
int get_Timeout ()

/** @property */
void set_Timeout (int value)
function get Timeout () : int

function set Timeout (value : int)

Property Value

The time to wait, in milliseconds. To wait indefinitely (the default), set this value to 0 or -1 (infinite).

Remarks

Synchronous calls to the cluster wait indefinitely. This can be an issue if the cluster is under heavy load and your application cannot appear to stop responding, or "hang." This property limits the time to wait before method calls return. When the time-out expires, the call fails and sets ICluster.ErrorMessage.

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