Share via


HostedServiceCheckNameAvailabilityResponse.Reason Property

Gets or sets a reason for why the name cannot be used to create the cloud service.

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

Usage

'Usage
Dim instance As HostedServiceCheckNameAvailabilityResponse
Dim value As String

value = instance.Reason

instance.Reason = value

Syntax

'Declaration
Public Property Reason As String
public string Reason { get; set; }
public:
property String^ Reason {
    String^ get ();
    void set (String^ value);
}
/** @property */
public String get_Reason ()

/** @property */
public void set_Reason (String value)
public function get Reason () : String

public function set Reason (value : String)

Property Value

The reason.

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

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