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

TokenStatus Struct

Definition

The status of the token example enabled or disabled.

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

Fields

Disabled
Enabled

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 TokenStatus (override for Object)

Equals(TokenStatus)

Compares values of enum type TokenStatus

GetHashCode()

Returns hashCode for enum TokenStatus

ToString()

Returns string representation for TokenStatus

Operators

Equality(TokenStatus, TokenStatus)

Overriding == operator for enum TokenStatus

Implicit(String to TokenStatus)

Implicit operator to convert string to TokenStatus

Implicit(TokenStatus to String)

Implicit operator to convert TokenStatus to string

Inequality(TokenStatus, TokenStatus)

Overriding != operator for enum TokenStatus

Applies to