Class StorageExtendedErrorInformation
- Namespace
- Microsoft.WindowsAzure.Storage
- Assembly
- Microsoft.WindowsAzure.Storage.dll
Represents extended error information returned by the Microsoft Azure storage services.
public sealed class StorageExtendedErrorInformation
- Inheritance
-
StorageExtendedErrorInformation
- Inherited Members
Constructors
StorageExtendedErrorInformation()
Initializes a new instance of the StorageExtendedErrorInformation class.
public StorageExtendedErrorInformation()
Properties
AdditionalDetails
Gets additional error details from XML-formatted input stream.
public IDictionary<string, string> AdditionalDetails { get; }
Property Value
- IDictionary<string, string>
An IDictionary<TKey, TValue> containing the additional error details.
ErrorCode
Gets the storage service error code.
public string ErrorCode { get; }
Property Value
- string
A string containing the storage service error code.
ErrorMessage
Gets the storage service error message.
public string ErrorMessage { get; }
Property Value
- string
A string containing the storage service error message.
Methods
ReadFromStream(Stream)
Gets the error details from an XML-formatted error stream.
public static StorageExtendedErrorInformation ReadFromStream(Stream inputStream)
Parameters
inputStream
StreamThe input stream.
Returns
- StorageExtendedErrorInformation
The error details.
ReadXml(XmlReader)
Generates a serializable StorageExtendedErrorInformation object from its XML representation.
public void ReadXml(XmlReader reader)
Parameters
reader
XmlReaderThe System.Xml.XmlReader stream from which the StorageExtendedErrorInformation object is deserialized.
WriteXml(XmlWriter)
Converts a serializable StorageExtendedErrorInformation object into its XML representation.
public void WriteXml(XmlWriter writer)
Parameters
writer
XmlWriterThe System.Xml.XmlWriter stream to which the StorageExtendedErrorInformation object is serialized.