views:

2

answers:

0

A StorageErrorCode is included in the exception that is thrown when FetchAttributes is called on a CloudBlob that does not exist. Steve Marx suggests that a value of ResourceNotFound would indicate that the blob does not exist.

What is then the relevance of the BlobNotFound value?

My first thought that ResourceNotFound might cover both the case where it is the container that does not exist and the case where it is the blob does not exist. This enumeration does not appear to have been decorated with the FlagsAttribute though which would probably rule this out.

I saw on MSDN that the codes are divided into server and client side errors but all three from above are client side errors.

Please explain the relationship between these three values.

related questions