<PackageReference Include="Microsoft.Azure.Storage.Common" Version="11.2.2" />

Microsoft.Azure.Storage.StorageExtendedErrorInformation

public sealed class StorageExtendedErrorInformation
Represents extended error information returned by the Microsoft Azure storage services.
public IDictionary<string, string> AdditionalDetails { get; }

Gets additional error details from XML-formatted input stream.

public string ErrorCode { get; }

Gets the storage service error code.

public string ErrorMessage { get; }

Gets the storage service error message.

Initializes a new instance of the StorageExtendedErrorInformation class.

Gets the error details from an XML-formatted error stream.

public static Task<StorageExtendedErrorInformation> ReadFromStreamAsync(Stream inputStream, CancellationToken cancellationToken)

Gets the error details from an XML-formatted error stream.

public Task ReadXmlAsync(XmlReader reader, CancellationToken cancellationToken)

Generates a serializable StorageExtendedErrorInformation object from its XML representation.

public void WriteXml(XmlWriter writer)

Converts a serializable StorageExtendedErrorInformation object into its XML representation.