C# Class Elastacloud.AzureManagement.Fluent.Storage.Classes.StorageActivity

Encapsulates the storage activity - all of the storage manager is just a passthru to this class
Inheritance: IStorageActivity, IServiceTransaction
显示文件 Open project: azurecoder/fluent-management Class Usage Examples

Public Methods

Method Description
Rollback ( ) : void

Used to rollback the transaction in the event of failure

Private Methods

Method Description
CreateStorageAccount ( ) : bool

Used to create a storage account

DeleteStorageAccount ( ) : bool

Used to delete a storage account

FindAccounByName ( string name ) : StorageAccount

Finds a storage account with a particular name

IServiceTransaction ( ) : dynamic

Used to commit the transaction data

IStorageActivity ( ) : IServiceTransaction

The method used to execute and determine what operation to do with the storage account

IStorageActivity ( string description ) : IStorageActivity

A description for the new storage account

IStorageActivity ( bool includeKeys ) : List

Gets a list of storage accounts from the storage catalog

StorageActivity ( StorageManager manager ) : System

Constructor used to set the manager reference

Method Details

Rollback() public method

Used to rollback the transaction in the event of failure
public Rollback ( ) : void
return void