Share via


ConnectionState Struct

Definition

The state of the connection.

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

Fields

Active
Approved
None
PendingApproval
ProvisioningCompleted
ProvisioningFailed
ProvisioningStarted
TypeChangeInProgress
TypeChangeRequested
Validating

Methods

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

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

Equals(ConnectionState)

Compares values of enum type ConnectionState

Equals(Object)

Compares values of enum type ConnectionState (override for Object)

GetHashCode()

Returns hashCode for enum ConnectionState

ToString()

Returns string representation for ConnectionState

Operators

Equality(ConnectionState, ConnectionState)

Overriding == operator for enum ConnectionState

Implicit(ConnectionState to String)

Implicit operator to convert ConnectionState to string

Implicit(String to ConnectionState)

Implicit operator to convert string to ConnectionState

Inequality(ConnectionState, ConnectionState)

Overriding != operator for enum ConnectionState

Applies to