共用方式為


CheckNameAvailabilityResponse Class

Definition

The result of a name availability check.

public class CheckNameAvailabilityResponse
type CheckNameAvailabilityResponse = class
Public Class CheckNameAvailabilityResponse
Inheritance
CheckNameAvailabilityResponse

Constructors

CheckNameAvailabilityResponse()

Initializes a new instance of the CheckNameAvailabilityResponse class.

CheckNameAvailabilityResponse(String, Nullable<Boolean>, Nullable<CheckNameAvailabilityReason>, String)

Initializes a new instance of the CheckNameAvailabilityResponse class.

Properties

Available

Gets true if the name is available, otherwise false.

Message

Gets a message explaining why the name is unavailable. Will be undefined if the name is available.

Name

Gets the name whose availability was checked.

Reason

Gets the reason code explaining why the name is unavailable. Will be undefined if the name is available. Possible values include: 'Invalid', 'AlreadyExists'

Applies to