C# Class Microsoft.WindowsAzure.Commands.Utilities.Common.AzureServiceManagementException

Inheritance: System.Exception
Show file Open project: AzureRT/azure-sdk-tools Class Usage Examples

Public Methods

Method Description
WrapExistingError ( ErrorRecord errorRecord ) : ErrorRecord

Wrap an existing error record in one that will display the Azure service management error message.

Private Methods

Method Description
AzureServiceManagementException ( string message, Exception innerException ) : System

Initializes a new instance of the AzureServiceManagementException.

Method Details

WrapExistingError() public static method

Wrap an existing error record in one that will display the Azure service management error message.
public static WrapExistingError ( ErrorRecord errorRecord ) : ErrorRecord
errorRecord System.Management.Automation.ErrorRecord The existing error.
return System.Management.Automation.ErrorRecord