OperationStatus Constructors
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.
Overloads
OperationStatus() |
Initializes a new instance of the OperationStatus class. |
OperationStatus(String, String, String, Nullable<DateTime>, Nullable<DateTime>, OperationStatusError, OperationStatusExtendedInfo) |
Initializes a new instance of the OperationStatus class. |
OperationStatus()
Initializes a new instance of the OperationStatus class.
public OperationStatus ();
Public Sub New ()
Applies to
OperationStatus(String, String, String, Nullable<DateTime>, Nullable<DateTime>, OperationStatusError, OperationStatusExtendedInfo)
Initializes a new instance of the OperationStatus class.
public OperationStatus (string id = default, string name = default, string status = default, DateTime? startTime = default, DateTime? endTime = default, Microsoft.Azure.Management.RecoveryServices.Backup.Models.OperationStatusError error = default, Microsoft.Azure.Management.RecoveryServices.Backup.Models.OperationStatusExtendedInfo properties = default);
new Microsoft.Azure.Management.RecoveryServices.Backup.Models.OperationStatus : string * string * string * Nullable<DateTime> * Nullable<DateTime> * Microsoft.Azure.Management.RecoveryServices.Backup.Models.OperationStatusError * Microsoft.Azure.Management.RecoveryServices.Backup.Models.OperationStatusExtendedInfo -> Microsoft.Azure.Management.RecoveryServices.Backup.Models.OperationStatus
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional status As String = Nothing, Optional startTime As Nullable(Of DateTime) = Nothing, Optional endTime As Nullable(Of DateTime) = Nothing, Optional error As OperationStatusError = Nothing, Optional properties As OperationStatusExtendedInfo = Nothing)
Parameters
- id
- String
ID of the operation.
- name
- String
Name of the operation.
- status
- String
Operation status. Possible values include: 'Invalid', 'InProgress', 'Succeeded', 'Failed', 'Canceled'
- error
- OperationStatusError
Error information related to this operation.
- properties
- OperationStatusExtendedInfo
Additional information associated with this operation.
Applies to
Azure SDK for .NET