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

Inheritance: System.Exception
Mostrar archivo Open project: Hitcents/azure-sdk-for-net-old

Private Properties

Property Type Description

Public Methods

Method 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.

Protected Methods

Method 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 method

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.
return void

StorageException() public method

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.
return System

StorageException() protected method

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.
return System

ToString() public method

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

TranslateException() public static method

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.
return Microsoft.WindowsAzure.Storage.StorageException