Partager via


Role Class

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.Deployment.Workflow.AzureManagement.AzureDataContractBase
    Microsoft.TeamFoundation.Deployment.Workflow.AzureManagement.v1_7.Role
      Microsoft.TeamFoundation.Deployment.Workflow.AzureManagement.v1_7.PersistentVMRole

Namespace:  Microsoft.TeamFoundation.Deployment.Workflow.AzureManagement.v1_7
Assembly:  Microsoft.TeamFoundation.Deployment.Workflow (in Microsoft.TeamFoundation.Deployment.Workflow.dll)

Syntax

'Declaration
<DataContractAttribute(Name := "Role", Namespace := "https://schemas.microsoft.com/windowsazure")> _
<KnownTypeAttribute(GetType(PersistentVMRole))> _
Public Class Role _
    Inherits AzureDataContractBase
[DataContractAttribute(Name = "Role", Namespace = "https://schemas.microsoft.com/windowsazure")]
[KnownTypeAttribute(typeof(PersistentVMRole))]
public class Role : AzureDataContractBase
[DataContractAttribute(Name = L"Role", Namespace = L"https://schemas.microsoft.com/windowsazure")]
[KnownTypeAttribute(typeof(PersistentVMRole))]
public ref class Role : public AzureDataContractBase
[<DataContractAttribute(Name = "Role", Namespace = "https://schemas.microsoft.com/windowsazure")>]
[<KnownTypeAttribute(typeof(PersistentVMRole))>]
type Role =  
    class 
        inherit AzureDataContractBase 
    end
public class Role extends AzureDataContractBase

The Role type exposes the following members.

Constructors

  Name Description
Protected method Role

Top

Properties

  Name Description
Public property ExtensionData (Inherited from AzureDataContractBase.)
Public property Name
Public property OsVersion
Public property RoleType

Top

Methods

  Name Description
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString (Inherited from AzureDataContractBase.)

Top

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.

See Also

Reference

Microsoft.TeamFoundation.Deployment.Workflow.AzureManagement.v1_7 Namespace