你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
CopyCompletionError(CopyCompletionErrorReason, String) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.