C# Class Microsoft.Azure.Commands.Compute.Models.PSSyncOutputEvents

Inheritance: ISyncOutputEvents, IDisposable
Mostrar archivo Open project: Azure/azure-powershell

Public Methods

Method Description
DebugEmptyBlockDetected ( IndexRange range ) : void
DebugRetryingAfterException ( Exception lastException ) : void
Dispose ( ) : void
ErrorUploadFailedWithExceptions ( IList exceptions ) : void
MessageCalculatingMD5Hash ( string filePath ) : void
MessageCreatingNewPageBlob ( long pageBlobSize ) : void
MessageDetectingActualDataBlocks ( ) : void
MessageDetectingActualDataBlocksCompleted ( ) : void
MessageMD5HashCalculationFinished ( ) : void
MessagePrintBlockRange ( IndexRange range ) : void
MessageResumingUpload ( ) : void
MessageRetryingAfterANetworkDisruption ( ) : void
PSSyncOutputEvents ( System.Management.Automation.PSCmdlet cmdlet ) : Microsoft.WindowsAzure.Commands.Sync
ProgressCopyComplete ( System.TimeSpan elapsed ) : void
ProgressCopyStatus ( Microsoft.WindowsAzure.Commands.Sync.ProgressRecord record ) : void
ProgressCopyStatus ( double precentComplete, double avgThroughputMbps, System.TimeSpan remainingTime ) : void
ProgressDownloadComplete ( System.TimeSpan elapsed ) : void
ProgressDownloadStatus ( Microsoft.WindowsAzure.Commands.Sync.ProgressRecord record ) : void
ProgressDownloadStatus ( double precentComplete, double avgThroughputMbps, System.TimeSpan remainingTime ) : void
ProgressEmptyBlockDetection ( int processedRangeCount, int totalRangeCount ) : void
ProgressOperationComplete ( System.TimeSpan elapsed ) : void
ProgressOperationStatus ( Microsoft.WindowsAzure.Commands.Sync.ProgressRecord record ) : void
ProgressOperationStatus ( double percentComplete, double avgThroughputMbps, System.TimeSpan remainingTime ) : void
ProgressUploadComplete ( System.TimeSpan elapsed ) : void
ProgressUploadStatus ( Microsoft.WindowsAzure.Commands.Sync.ProgressRecord record ) : void
ProgressUploadStatus ( double precentComplete, double avgThroughputMbps, System.TimeSpan remainingTime ) : void
WriteVerboseWithTimestamp ( string message ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method Description
FormatDuration ( System.TimeSpan ts ) : string
LogDebug ( string format ) : void
LogError ( Exception e ) : void
LogMessage ( string format ) : void
LogProgress ( int activityId, string activity, double precentComplete, System.TimeSpan remainingTime, double avgThroughputMbps ) : void
LogProgressComplete ( int activityId, string activity ) : void

Method Details

DebugEmptyBlockDetected() public method

public DebugEmptyBlockDetected ( IndexRange range ) : void
range IndexRange
return void

DebugRetryingAfterException() public method

public DebugRetryingAfterException ( Exception lastException ) : void
lastException System.Exception
return void

Dispose() public method

public Dispose ( ) : void
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

ErrorUploadFailedWithExceptions() public method

public ErrorUploadFailedWithExceptions ( IList exceptions ) : void
exceptions IList
return void

MessageCalculatingMD5Hash() public method

public MessageCalculatingMD5Hash ( string filePath ) : void
filePath string
return void

MessageCreatingNewPageBlob() public method

public MessageCreatingNewPageBlob ( long pageBlobSize ) : void
pageBlobSize long
return void

MessageDetectingActualDataBlocks() public method

public MessageDetectingActualDataBlocks ( ) : void
return void

MessageDetectingActualDataBlocksCompleted() public method

public MessageDetectingActualDataBlocksCompleted ( ) : void
return void

MessageMD5HashCalculationFinished() public method

public MessageMD5HashCalculationFinished ( ) : void
return void

MessagePrintBlockRange() public method

public MessagePrintBlockRange ( IndexRange range ) : void
range IndexRange
return void

MessageResumingUpload() public method

public MessageResumingUpload ( ) : void
return void

MessageRetryingAfterANetworkDisruption() public method

public MessageRetryingAfterANetworkDisruption ( ) : void
return void

PSSyncOutputEvents() public method

public PSSyncOutputEvents ( System.Management.Automation.PSCmdlet cmdlet ) : Microsoft.WindowsAzure.Commands.Sync
cmdlet System.Management.Automation.PSCmdlet
return Microsoft.WindowsAzure.Commands.Sync

ProgressCopyComplete() public method

public ProgressCopyComplete ( System.TimeSpan elapsed ) : void
elapsed System.TimeSpan
return void

ProgressCopyStatus() public method

public ProgressCopyStatus ( Microsoft.WindowsAzure.Commands.Sync.ProgressRecord record ) : void
record Microsoft.WindowsAzure.Commands.Sync.ProgressRecord
return void

ProgressCopyStatus() public method

public ProgressCopyStatus ( double precentComplete, double avgThroughputMbps, System.TimeSpan remainingTime ) : void
precentComplete double
avgThroughputMbps double
remainingTime System.TimeSpan
return void

ProgressDownloadComplete() public method

public ProgressDownloadComplete ( System.TimeSpan elapsed ) : void
elapsed System.TimeSpan
return void

ProgressDownloadStatus() public method

public ProgressDownloadStatus ( Microsoft.WindowsAzure.Commands.Sync.ProgressRecord record ) : void
record Microsoft.WindowsAzure.Commands.Sync.ProgressRecord
return void

ProgressDownloadStatus() public method

public ProgressDownloadStatus ( double precentComplete, double avgThroughputMbps, System.TimeSpan remainingTime ) : void
precentComplete double
avgThroughputMbps double
remainingTime System.TimeSpan
return void

ProgressEmptyBlockDetection() public method

public ProgressEmptyBlockDetection ( int processedRangeCount, int totalRangeCount ) : void
processedRangeCount int
totalRangeCount int
return void

ProgressOperationComplete() public method

public ProgressOperationComplete ( System.TimeSpan elapsed ) : void
elapsed System.TimeSpan
return void

ProgressOperationStatus() public method

public ProgressOperationStatus ( Microsoft.WindowsAzure.Commands.Sync.ProgressRecord record ) : void
record Microsoft.WindowsAzure.Commands.Sync.ProgressRecord
return void

ProgressOperationStatus() public method

public ProgressOperationStatus ( double percentComplete, double avgThroughputMbps, System.TimeSpan remainingTime ) : void
percentComplete double
avgThroughputMbps double
remainingTime System.TimeSpan
return void

ProgressUploadComplete() public method

public ProgressUploadComplete ( System.TimeSpan elapsed ) : void
elapsed System.TimeSpan
return void

ProgressUploadStatus() public method

public ProgressUploadStatus ( Microsoft.WindowsAzure.Commands.Sync.ProgressRecord record ) : void
record Microsoft.WindowsAzure.Commands.Sync.ProgressRecord
return void

ProgressUploadStatus() public method

public ProgressUploadStatus ( double precentComplete, double avgThroughputMbps, System.TimeSpan remainingTime ) : void
precentComplete double
avgThroughputMbps double
remainingTime System.TimeSpan
return void

WriteVerboseWithTimestamp() public method

public WriteVerboseWithTimestamp ( string message ) : void
message string
return void