共用方式為


Operation Constructors

Definition

Overloads

Operation()

Initializes a new instance of the Operation class.

Operation(String, String, Nullable<OperationStatus>, IList<ErrorEntity>, Nullable<DateTime>, Nullable<DateTime>, Nullable<DateTime>, Nullable<Guid>)

Initializes a new instance of the Operation class.

Operation()

Initializes a new instance of the Operation class.

public Operation ();
Public Sub New ()

Applies to

Operation(String, String, Nullable<OperationStatus>, IList<ErrorEntity>, Nullable<DateTime>, Nullable<DateTime>, Nullable<DateTime>, Nullable<Guid>)

Initializes a new instance of the Operation class.

public Operation (string id = default, string name = default, Microsoft.Azure.Management.WebSites.Models.OperationStatus? status = default, System.Collections.Generic.IList<Microsoft.Azure.Management.WebSites.Models.ErrorEntity> errors = default, DateTime? createdTime = default, DateTime? modifiedTime = default, DateTime? expirationTime = default, Guid? geoMasterOperationId = default);
new Microsoft.Azure.Management.WebSites.Models.Operation : string * string * Nullable<Microsoft.Azure.Management.WebSites.Models.OperationStatus> * System.Collections.Generic.IList<Microsoft.Azure.Management.WebSites.Models.ErrorEntity> * Nullable<DateTime> * Nullable<DateTime> * Nullable<DateTime> * Nullable<Guid> -> Microsoft.Azure.Management.WebSites.Models.Operation
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional status As Nullable(Of OperationStatus) = Nothing, Optional errors As IList(Of ErrorEntity) = Nothing, Optional createdTime As Nullable(Of DateTime) = Nothing, Optional modifiedTime As Nullable(Of DateTime) = Nothing, Optional expirationTime As Nullable(Of DateTime) = Nothing, Optional geoMasterOperationId As Nullable(Of Guid) = Nothing)

Parameters

id
String

Operation ID.

name
String

Operation name.

status
Nullable<OperationStatus>

The current status of the operation. Possible values include: 'InProgress', 'Failed', 'Succeeded', 'TimedOut', 'Created'

errors
IList<ErrorEntity>

Any errors associate with the operation.

createdTime
Nullable<DateTime>

Time when operation has started.

modifiedTime
Nullable<DateTime>

Time when operation has been updated.

expirationTime
Nullable<DateTime>

Time when operation will expire.

geoMasterOperationId
Nullable<Guid>

Applicable only for stamp operation ids.

Applies to