ActivityPolicy.Timeout Property

Gets or sets the timeout for the activity to run.

Namespace: Microsoft.Azure.Management.DataFactories.Models
Assembly: Microsoft.Azure.Management.DataFactories (in Microsoft.Azure.Management.DataFactories.dll)

Usage

'Usage
Dim instance As ActivityPolicy
Dim value As Nullable(Of TimeSpan)

value = instance.Timeout

instance.Timeout = value

Syntax

'Declaration
Public Property Timeout As Nullable(Of TimeSpan)
public Nullable<TimeSpan> Timeout { get; set; }
public:
property Nullable<TimeSpan> Timeout {
    Nullable<TimeSpan> get ();
    void set (Nullable<TimeSpan> value);
}
/** @property */
public Nullable<TimeSpan> get_Timeout ()

/** @property */
public void set_Timeout (Nullable<TimeSpan> value)
public function get Timeout () : Nullable<TimeSpan>

public function set Timeout (value : Nullable<TimeSpan>)

Property Value

The timeout for the activity to run.

Remarks

If there is value specified, it takes the value of TimeSpan.FromMilliseconds(-1) which means indefinite timeout.

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

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

Target Platforms

See Also

Reference

ActivityPolicy Class
ActivityPolicy Members
Microsoft.Azure.Management.DataFactories.Models Namespace