Share via


Reason Struct

Definition

Message providing the reason why the given name is invalid.

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

Fields

AlreadyExists
Invalid

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