你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

OperationResource 构造函数

定义

重载

OperationResource()

初始化 OperationResource 类的新实例。

OperationResource(String, String, String, Object, ErrorDetail, Nullable<DateTime>, Nullable<DateTime>, Nullable<Double>)

初始化 OperationResource 类的新实例。

OperationResource()

初始化 OperationResource 类的新实例。

public OperationResource ();
Public Sub New ()

适用于

OperationResource(String, String, String, Object, ErrorDetail, Nullable<DateTime>, Nullable<DateTime>, Nullable<Double>)

初始化 OperationResource 类的新实例。

public OperationResource (string id = default, string name = default, string status = default, object properties = default, Microsoft.Azure.Management.Synapse.Models.ErrorDetail error = default, DateTime? startTime = default, DateTime? endTime = default, double? percentComplete = default);
new Microsoft.Azure.Management.Synapse.Models.OperationResource : string * string * string * obj * Microsoft.Azure.Management.Synapse.Models.ErrorDetail * Nullable<DateTime> * Nullable<DateTime> * Nullable<double> -> Microsoft.Azure.Management.Synapse.Models.OperationResource
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional status As String = Nothing, Optional properties As Object = Nothing, Optional error As ErrorDetail = Nothing, Optional startTime As Nullable(Of DateTime) = Nothing, Optional endTime As Nullable(Of DateTime) = Nothing, Optional percentComplete As Nullable(Of Double) = Nothing)

参数

id
String

Operation ID

name
String

操作名称

status
String

操作状态。 可能的值包括:“InProgress”、“Succeeded”、“Failed”、“Canceled”

properties
Object

操作属性

error
ErrorDetail

操作中的错误

startTime
Nullable<DateTime>

操作开始时间

endTime
Nullable<DateTime>

操作开始时间

percentComplete
Nullable<Double>

操作的完成百分比

适用于