Share via


ExtensionImage.BlockRoleUponFailure Property

Optional. Optional. Its value has to be 'true' or 'false' (case-sensitive) When set to 'true', the role startup will be blocked till the extension installation completes. This flag should be set to 'true' when the role cannot start without the extension being installed. If set to 'false' (default value), the role will be started without waiting for the extension installation to complete. Supported on WebRole or WorkerRole, but ignored on VmRole.

Namespace: Microsoft.WindowsAzure.Management.Compute.Models
Assembly: Microsoft.WindowsAzure.Management.Compute (in Microsoft.WindowsAzure.Management.Compute.dll)

Usage

'Usage
Dim instance As ExtensionImage
Dim value As Nullable(Of Boolean)

value = instance.BlockRoleUponFailure

instance.BlockRoleUponFailure = value

Syntax

'Declaration
Public Property BlockRoleUponFailure As Nullable(Of Boolean)
public Nullable<bool> BlockRoleUponFailure { get; set; }
public:
property Nullable<bool> BlockRoleUponFailure {
    Nullable<bool> get ();
    void set (Nullable<bool> value);
}
/** @property */
public Nullable<boolean> get_BlockRoleUponFailure ()

/** @property */
public void set_BlockRoleUponFailure (Nullable<boolean> value)
public function get BlockRoleUponFailure () : Nullable<boolean>

public function set BlockRoleUponFailure (value : Nullable<boolean>)

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

ExtensionImage Class
ExtensionImage Members
Microsoft.WindowsAzure.Management.Compute.Models Namespace