c# - Azure storage API for common REST API Error codes -


this may silly question need find c# azure storage exception api wrap “common rest api error codes” https://msdn.microsoft.com/en-us/library/azure/dd179357.aspx.

say if specific exception on table operation can check error code against “microsoft.windowsazure.storage.table.protocol.tableerrorcodestrings”

i have functionality wrap creation of table/blob/queue operation in single method , checking error type resourcealreadyexists while exception handling.

i see error code resourcealreadyexists in azure storage common rest api error codes per documentation not able find corresponding c# azure storage api.

please let me know if have insight or how can find it.

i think you're reading literally rest api documentation. :) here strings resources exist.

microsoft.windowsazure.storage.blob.protocol.bloberrorcodestrings.blobalreadyexists; microsoft.windowsazure.storage.queue.protocol.queueerrorcodestrings.queuealreadyexists; microsoft.windowsazure.storage.table.protocol.tableerrorcodestrings.tablealreadyexists; 

so, need check appropriate 1 depending on azure storage resource working @ time.


Comments

Popular posts from this blog

javascript - three.js lot of meshes optimization -

smartface.io - Proper way to change color scheme for whole application -

Email notification in google apps script -