Share via


Cluster.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
Public Property Timeout As Integer
public int Timeout { get; set; }
public:
virtual property int Timeout {
    int get () sealed;
    void set (int value) sealed;
}
/** @property */
public final int get_Timeout ()

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

public final 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 Cluster.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

Cluster Class
Cluster Members
Microsoft.ComputeCluster Namespace