NamedRole 构造函数 (String, IList)

Initializes a new instance of the NamedRole class with required arguments.

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

使用

用法
Dim roleName As String
Dim extensions As IList(Of Extension)

Dim instance As New NamedRole(roleName, extensions)

语法

声明
Public Sub New ( _
    roleName As String, _
    extensions As IList(Of Extension) _
)
public NamedRole (
    string roleName,
    IList<Extension> extensions
)
public:
NamedRole (
    String^ roleName, 
    IList<Extension^>^ extensions
)
public NamedRole (
    String roleName, 
    IList<Extension> extensions
)
public function NamedRole (
    roleName : String, 
    extensions : IList<Extension>
)

备注

平台

开发平台

Windows Vista、Windows 7 和 Windows Server 2008

目标平台

另请参阅

参考

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