ExtensionImage.BlockRoleUponFailure 属性

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.

命名空间: Microsoft.WindowsAzure.Management.Compute.Models
程序集: Microsoft.WindowsAzure.Management.Compute(在 Microsoft.WindowsAzure.Management.Compute.dll 中)

使用

用法
Dim instance As ExtensionImage
Dim value As Nullable(Of Boolean)

value = instance.BlockRoleUponFailure

instance.BlockRoleUponFailure = value

语法

声明
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>)

线程安全

此类型的所有公开静态(在 Visual Basic 中为共享)成员均为线程安全型成员。但不保证所有实例成员都是线程安全的。

平台

开发平台

Windows Vista、Windows 7 和 Windows Server 2008

目标平台

另请参阅

参考

ExtensionImage 类
ExtensionImage 成员
Microsoft.WindowsAzure.Management.Compute.Models 命名空间