Table of Contents

Class CopyState

Namespace
Microsoft.WindowsAzure.Storage.Blob
Assembly
Microsoft.WindowsAzure.Storage.dll

Represents the attributes of a copy operation.

public sealed class CopyState
Inheritance
CopyState
Inherited Members

Constructors

CopyState()

public CopyState()

Properties

BytesCopied

Gets the number of bytes copied in the operation so far.

public long? BytesCopied { get; }

Property Value

long?

The number of bytes copied in the operation so far, or null.

CompletionTime

Gets the time the copy operation completed, and indicates whether completion was due to a successful copy, the cancelling of the operation, or a failure.

public DateTimeOffset? CompletionTime { get; }

Property Value

DateTimeOffset?

A DateTimeOffset containing the completion time, or null if the operation has not completed.

CopyId

Gets the ID of the copy operation.

public string CopyId { get; }

Property Value

string

A copy ID string.

DestinationSnapshotTime

Gets the incremental destination snapshot time for the latest incremental copy, if present.

public DateTimeOffset? DestinationSnapshotTime { get; }

Property Value

DateTimeOffset?

A DateTimeOffset containing the destination snapshot time for the latest incremental copy, or null.

Source

Gets the source URI of a copy operation.

public Uri Source { get; }

Property Value

Uri

A System.Uri indicating the source of a copy operation, or null.

Status

Gets the status of the copy operation.

public CopyStatus Status { get; }

Property Value

CopyStatus

A CopyStatus enumeration indicating the status of the operation.

StatusDescription

Gets the description of the current status, if any.

public string StatusDescription { get; }

Property Value

string

A status description string, or null.

TotalBytes

Gets the total number of bytes in the source of the copy.

public long? TotalBytes { get; }

Property Value

long?

The number of bytes in the source, or null.