Table of Contents

Struct ShareErrorCode

Namespace
Azure.Storage.Files.Shares.Models
Assembly
Azure.Storage.Files.Shares.dll

Error codes returned by the service.

public readonly struct ShareErrorCode : IEquatable<ShareErrorCode>
Implements
Inherited Members

Constructors

ShareErrorCode(string)

Initializes a new instance of ShareErrorCode.

public ShareErrorCode(string value)

Parameters

value string

Exceptions

ArgumentNullException

value is null.

Properties

AccountAlreadyExists

AccountAlreadyExists.

public static ShareErrorCode AccountAlreadyExists { get; }

Property Value

ShareErrorCode

AccountBeingCreated

AccountBeingCreated.

public static ShareErrorCode AccountBeingCreated { get; }

Property Value

ShareErrorCode

AccountIsDisabled

AccountIsDisabled.

public static ShareErrorCode AccountIsDisabled { get; }

Property Value

ShareErrorCode

AuthenticationFailed

AuthenticationFailed.

public static ShareErrorCode AuthenticationFailed { get; }

Property Value

ShareErrorCode

AuthorizationFailure

AuthorizationFailure.

public static ShareErrorCode AuthorizationFailure { get; }

Property Value

ShareErrorCode

AuthorizationPermissionMismatch

AuthorizationPermissionMismatch.

public static ShareErrorCode AuthorizationPermissionMismatch { get; }

Property Value

ShareErrorCode

AuthorizationProtocolMismatch

AuthorizationProtocolMismatch.

public static ShareErrorCode AuthorizationProtocolMismatch { get; }

Property Value

ShareErrorCode

AuthorizationResourceTypeMismatch

AuthorizationResourceTypeMismatch.

public static ShareErrorCode AuthorizationResourceTypeMismatch { get; }

Property Value

ShareErrorCode

AuthorizationServiceMismatch

AuthorizationServiceMismatch.

public static ShareErrorCode AuthorizationServiceMismatch { get; }

Property Value

ShareErrorCode

AuthorizationSourceIPMismatch

AuthorizationSourceIPMismatch.

public static ShareErrorCode AuthorizationSourceIPMismatch { get; }

Property Value

ShareErrorCode

CannotDeleteFileOrDirectory

CannotDeleteFileOrDirectory.

public static ShareErrorCode CannotDeleteFileOrDirectory { get; }

Property Value

ShareErrorCode

ClientCacheFlushDelay

ClientCacheFlushDelay.

public static ShareErrorCode ClientCacheFlushDelay { get; }

Property Value

ShareErrorCode

ConditionHeadersNotSupported

ConditionHeadersNotSupported.

public static ShareErrorCode ConditionHeadersNotSupported { get; }

Property Value

ShareErrorCode

ConditionNotMet

ConditionNotMet.

public static ShareErrorCode ConditionNotMet { get; }

Property Value

ShareErrorCode

ContainerQuotaDowngradeNotAllowed

ContainerQuotaDowngradeNotAllowed.

public static ShareErrorCode ContainerQuotaDowngradeNotAllowed { get; }

Property Value

ShareErrorCode

DeletePending

DeletePending.

public static ShareErrorCode DeletePending { get; }

Property Value

ShareErrorCode

DirectoryNotEmpty

DirectoryNotEmpty.

public static ShareErrorCode DirectoryNotEmpty { get; }

Property Value

ShareErrorCode

EmptyMetadataKey

EmptyMetadataKey.

public static ShareErrorCode EmptyMetadataKey { get; }

Property Value

ShareErrorCode

FeatureVersionMismatch

FeatureVersionMismatch.

public static ShareErrorCode FeatureVersionMismatch { get; }

Property Value

ShareErrorCode

FileLockConflict

FileLockConflict.

public static ShareErrorCode FileLockConflict { get; }

Property Value

ShareErrorCode

InsufficientAccountPermissions

InsufficientAccountPermissions.

public static ShareErrorCode InsufficientAccountPermissions { get; }

Property Value

ShareErrorCode

InternalError

InternalError.

public static ShareErrorCode InternalError { get; }

Property Value

ShareErrorCode

InvalidAuthenticationInfo

InvalidAuthenticationInfo.

public static ShareErrorCode InvalidAuthenticationInfo { get; }

Property Value

ShareErrorCode

InvalidFileOrDirectoryPathName

InvalidFileOrDirectoryPathName.

public static ShareErrorCode InvalidFileOrDirectoryPathName { get; }

Property Value

ShareErrorCode

InvalidHeaderValue

InvalidHeaderValue.

public static ShareErrorCode InvalidHeaderValue { get; }

Property Value

ShareErrorCode

InvalidHttpVerb

InvalidHttpVerb.

public static ShareErrorCode InvalidHttpVerb { get; }

Property Value

ShareErrorCode

InvalidInput

InvalidInput.

public static ShareErrorCode InvalidInput { get; }

Property Value

ShareErrorCode

InvalidMd5

InvalidMd5.

public static ShareErrorCode InvalidMd5 { get; }

Property Value

ShareErrorCode

InvalidMetadata

InvalidMetadata.

public static ShareErrorCode InvalidMetadata { get; }

Property Value

ShareErrorCode

InvalidQueryParameterValue

InvalidQueryParameterValue.

public static ShareErrorCode InvalidQueryParameterValue { get; }

Property Value

ShareErrorCode

InvalidRange

InvalidRange.

public static ShareErrorCode InvalidRange { get; }

Property Value

ShareErrorCode

InvalidResourceName

InvalidResourceName.

public static ShareErrorCode InvalidResourceName { get; }

Property Value

ShareErrorCode

InvalidUri

InvalidUri.

public static ShareErrorCode InvalidUri { get; }

Property Value

ShareErrorCode

InvalidXmlDocument

InvalidXmlDocument.

public static ShareErrorCode InvalidXmlDocument { get; }

Property Value

ShareErrorCode

InvalidXmlNodeValue

InvalidXmlNodeValue.

public static ShareErrorCode InvalidXmlNodeValue { get; }

Property Value

ShareErrorCode

Md5Mismatch

Md5Mismatch.

public static ShareErrorCode Md5Mismatch { get; }

Property Value

ShareErrorCode

MetadataTooLarge

MetadataTooLarge.

public static ShareErrorCode MetadataTooLarge { get; }

Property Value

ShareErrorCode

MissingContentLengthHeader

MissingContentLengthHeader.

public static ShareErrorCode MissingContentLengthHeader { get; }

Property Value

ShareErrorCode

MissingRequiredHeader

MissingRequiredHeader.

public static ShareErrorCode MissingRequiredHeader { get; }

Property Value

ShareErrorCode

MissingRequiredQueryParameter

MissingRequiredQueryParameter.

public static ShareErrorCode MissingRequiredQueryParameter { get; }

Property Value

ShareErrorCode

MissingRequiredXmlNode

MissingRequiredXmlNode.

public static ShareErrorCode MissingRequiredXmlNode { get; }

Property Value

ShareErrorCode

MultipleConditionHeadersNotSupported

MultipleConditionHeadersNotSupported.

public static ShareErrorCode MultipleConditionHeadersNotSupported { get; }

Property Value

ShareErrorCode

OperationTimedOut

OperationTimedOut.

public static ShareErrorCode OperationTimedOut { get; }

Property Value

ShareErrorCode

OutOfRangeInput

OutOfRangeInput.

public static ShareErrorCode OutOfRangeInput { get; }

Property Value

ShareErrorCode

OutOfRangeQueryParameterValue

OutOfRangeQueryParameterValue.

public static ShareErrorCode OutOfRangeQueryParameterValue { get; }

Property Value

ShareErrorCode

ParentNotFound

ParentNotFound.

public static ShareErrorCode ParentNotFound { get; }

Property Value

ShareErrorCode

PreviousSnapshotNotFound

PreviousSnapshotNotFound.

public static ShareErrorCode PreviousSnapshotNotFound { get; }

Property Value

ShareErrorCode

ReadOnlyAttribute

ReadOnlyAttribute.

public static ShareErrorCode ReadOnlyAttribute { get; }

Property Value

ShareErrorCode

RequestBodyTooLarge

RequestBodyTooLarge.

public static ShareErrorCode RequestBodyTooLarge { get; }

Property Value

ShareErrorCode

RequestUrlFailedToParse

RequestUrlFailedToParse.

public static ShareErrorCode RequestUrlFailedToParse { get; }

Property Value

ShareErrorCode

ResourceAlreadyExists

ResourceAlreadyExists.

public static ShareErrorCode ResourceAlreadyExists { get; }

Property Value

ShareErrorCode

ResourceNotFound

ResourceNotFound.

public static ShareErrorCode ResourceNotFound { get; }

Property Value

ShareErrorCode

ResourceTypeMismatch

ResourceTypeMismatch.

public static ShareErrorCode ResourceTypeMismatch { get; }

Property Value

ShareErrorCode

ServerBusy

ServerBusy.

public static ShareErrorCode ServerBusy { get; }

Property Value

ShareErrorCode

ShareAlreadyExists

ShareAlreadyExists.

public static ShareErrorCode ShareAlreadyExists { get; }

Property Value

ShareErrorCode

ShareBeingDeleted

ShareBeingDeleted.

public static ShareErrorCode ShareBeingDeleted { get; }

Property Value

ShareErrorCode

ShareDisabled

ShareDisabled.

public static ShareErrorCode ShareDisabled { get; }

Property Value

ShareErrorCode

ShareHasSnapshots

ShareHasSnapshots.

public static ShareErrorCode ShareHasSnapshots { get; }

Property Value

ShareErrorCode

ShareNotFound

ShareNotFound.

public static ShareErrorCode ShareNotFound { get; }

Property Value

ShareErrorCode

ShareSnapshotCountExceeded

ShareSnapshotCountExceeded.

public static ShareErrorCode ShareSnapshotCountExceeded { get; }

Property Value

ShareErrorCode

ShareSnapshotInProgress

ShareSnapshotInProgress.

public static ShareErrorCode ShareSnapshotInProgress { get; }

Property Value

ShareErrorCode

ShareSnapshotOperationNotSupported

ShareSnapshotOperationNotSupported.

public static ShareErrorCode ShareSnapshotOperationNotSupported { get; }

Property Value

ShareErrorCode

SharingViolation

SharingViolation.

public static ShareErrorCode SharingViolation { get; }

Property Value

ShareErrorCode

UnsupportedHeader

UnsupportedHeader.

public static ShareErrorCode UnsupportedHeader { get; }

Property Value

ShareErrorCode

UnsupportedHttpVerb

UnsupportedHttpVerb.

public static ShareErrorCode UnsupportedHttpVerb { get; }

Property Value

ShareErrorCode

UnsupportedQueryParameter

UnsupportedQueryParameter.

public static ShareErrorCode UnsupportedQueryParameter { get; }

Property Value

ShareErrorCode

UnsupportedXmlNode

UnsupportedXmlNode.

public static ShareErrorCode UnsupportedXmlNode { get; }

Property Value

ShareErrorCode

Methods

Equals(ShareErrorCode)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(ShareErrorCode other)

Parameters

other ShareErrorCode

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

ToString()

Returns the fully qualified type name of this instance.

public override string ToString()

Returns

string

The fully qualified type name.

Operators

operator ==(ShareErrorCode, ShareErrorCode)

Determines if two ShareErrorCode values are the same.

public static bool operator ==(ShareErrorCode left, ShareErrorCode right)

Parameters

left ShareErrorCode
right ShareErrorCode

Returns

bool

implicit operator ShareErrorCode(string)

Converts a string to a ShareErrorCode.

public static implicit operator ShareErrorCode(string value)

Parameters

value string

Returns

ShareErrorCode

operator !=(ShareErrorCode, ShareErrorCode)

Determines if two ShareErrorCode values are not the same.

public static bool operator !=(ShareErrorCode left, ShareErrorCode right)

Parameters

left ShareErrorCode
right ShareErrorCode

Returns

bool