CopyCompletionError(CopyCompletionErrorReason, String) Constructor

Definition

Initializes a new instance of CopyCompletionError.

public CopyCompletionError (Azure.ResourceManager.Compute.Models.CopyCompletionErrorReason errorCode, string errorMessage);
new Azure.ResourceManager.Compute.Models.CopyCompletionError : Azure.ResourceManager.Compute.Models.CopyCompletionErrorReason * string -> Azure.ResourceManager.Compute.Models.CopyCompletionError
Public Sub New (errorCode As CopyCompletionErrorReason, errorMessage As String)

Parameters

errorCode
CopyCompletionErrorReason

Indicates the error code if the background copy of a resource created via the CopyStart operation fails.

errorMessage
String

Indicates the error message if the background copy of a resource created via the CopyStart operation fails.

Exceptions

errorMessage is null.

Applies to