C# Класс Microsoft.WindowsAzure.Storage.StorageException.StorageException

Наследование: System.Exception
Показать файл Открыть проект

Private Properties

Свойство Тип Описание

Открытые методы

Метод Описание
GetObjectData ( SerializationInfo info, StreamingContext context ) : void

Populates a System.Runtime.Serialization.SerializationInfo object with the data needed to serialize the target object.

StorageException ( Microsoft.WindowsAzure.Storage.RequestResult res, string message, Exception inner ) : System

Initializes a new instance of the StorageException class by using the specified parameters.

ToString ( ) : string

Represents an exception thrown by the Windows Azure storage client library.

TranslateException ( Exception ex, Microsoft.WindowsAzure.Storage.RequestResult reqResult ) : Microsoft.WindowsAzure.Storage.StorageException

Translates the specified exception into a storage exception.

Защищенные методы

Метод Описание
StorageException ( SerializationInfo info, StreamingContext context ) : System

Initializes a new instance of the StorageException class with serialized data.

This constructor is called during deserialization to reconstitute the exception object transmitted over a stream.

Описание методов

GetObjectData() публичный Метод

Populates a System.Runtime.Serialization.SerializationInfo object with the data needed to serialize the target object.
public GetObjectData ( SerializationInfo info, StreamingContext context ) : void
info System.Runtime.Serialization.SerializationInfo The object to populate with data.
context System.Runtime.Serialization.StreamingContext The destination context for this serialization.
Результат void

StorageException() публичный Метод

Initializes a new instance of the StorageException class by using the specified parameters.
public StorageException ( Microsoft.WindowsAzure.Storage.RequestResult res, string message, Exception inner ) : System
res Microsoft.WindowsAzure.Storage.RequestResult The request result.
message string The message.
inner System.Exception The inner exception.
Результат System

StorageException() защищенный Метод

Initializes a new instance of the StorageException class with serialized data.
This constructor is called during deserialization to reconstitute the exception object transmitted over a stream.
protected StorageException ( SerializationInfo info, StreamingContext context ) : System
info System.Runtime.Serialization.SerializationInfo The object that holds the serialized object data for the exception being thrown.
context System.Runtime.Serialization.StreamingContext The that contains contextual information about the source or destination.
Результат System

ToString() публичный Метод

Represents an exception thrown by the Windows Azure storage client library.
public ToString ( ) : string
Результат string

TranslateException() публичный статический Метод

Translates the specified exception into a storage exception.
public static TranslateException ( Exception ex, Microsoft.WindowsAzure.Storage.RequestResult reqResult ) : Microsoft.WindowsAzure.Storage.StorageException
ex System.Exception The exception to translate.
reqResult Microsoft.WindowsAzure.Storage.RequestResult The request result.
Результат Microsoft.WindowsAzure.Storage.StorageException