你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

CheckNameAvailabilityResult Interface

public interface CheckNameAvailabilityResult

The result of check name availability.

Method Summary

Modifier and Type Method and Description
abstract String message()

Gets the message explaining the reason of name unavailability in more detail.

abstract boolean nameAvailable()

Gets whether name is available to use.

abstract CheckNameAvailabilityReason reason()

Gets the reason that the name could not be used.

Method Details

message

public abstract String message()

Gets the message explaining the reason of name unavailability in more detail.

Returns:

an error message explaining the reason of name unavailability in more detail.

nameAvailable

public abstract boolean nameAvailable()

Gets whether name is available to use.

Returns:

whether name is available to use.

reason

public abstract CheckNameAvailabilityReason reason()

Gets the reason that the name could not be used.

Returns:

the reason that the name could not be used.

Applies to