Partager via


Reason Struct

Definition

Gets the reason that a storage account name could not be used. The Reason element is only returned if NameAvailable is false.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ReasonTypeConverter))]
public struct Reason : IEquatable<Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.Reason>, System.Management.Automation.IArgumentCompleter
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ReasonTypeConverter))>]
type Reason = struct
    interface IArgumentCompleter
Public Structure Reason
Implements IArgumentCompleter, IEquatable(Of Reason)
Inheritance
Reason
Attributes
Implements

Fields

AccountNameInvalid
AlreadyExists

Methods

CompleteArgument(String, String, String, CommandAst, IDictionary)

Implementations of this function are called by PowerShell to complete arguments.

Equals(Object)

Compares values of enum type Reason (override for Object)

Equals(Reason)

Compares values of enum type Reason

GetHashCode()

Returns hashCode for enum Reason

ToString()

Returns string representation for Reason

Operators

Equality(Reason, Reason)

Overriding == operator for enum Reason

Implicit(Reason to String)

Implicit operator to convert Reason to string

Implicit(String to Reason)

Implicit operator to convert string to Reason

Inequality(Reason, Reason)

Overriding != operator for enum Reason

Applies to