C# Class Microsoft.WindowsAzure.Storage.StorageException.StorageException

Inheritance: System.Exception
Afficher le fichier Open project: Hitcents/azure-sdk-for-net-old

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
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.

Méthodes protégées

Méthode Description
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.

Method Details

GetObjectData() public méthode

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.
Résultat void

StorageException() public méthode

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.
Résultat System

StorageException() protected méthode

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.
Résultat System

ToString() public méthode

Represents an exception thrown by the Windows Azure storage client library.
public ToString ( ) : string
Résultat string

TranslateException() public static méthode

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.
Résultat Microsoft.WindowsAzure.Storage.StorageException