Delen via


OperationResponse Constructors

Definition

Overloads

OperationResponse()

Initializes a new instance of the OperationResponse class.

OperationResponse(String, Nullable<DateTime>, DataShareErrorInfo, Nullable<DateTime>)

Initializes a new instance of the OperationResponse class.

OperationResponse()

Initializes a new instance of the OperationResponse class.

public OperationResponse ();
Public Sub New ()

Applies to

OperationResponse(String, Nullable<DateTime>, DataShareErrorInfo, Nullable<DateTime>)

Initializes a new instance of the OperationResponse class.

public OperationResponse (string status, DateTime? endTime = default, Microsoft.Azure.Management.DataShare.Models.DataShareErrorInfo error = default, DateTime? startTime = default);
new Microsoft.Azure.Management.DataShare.Models.OperationResponse : string * Nullable<DateTime> * Microsoft.Azure.Management.DataShare.Models.DataShareErrorInfo * Nullable<DateTime> -> Microsoft.Azure.Management.DataShare.Models.OperationResponse
Public Sub New (status As String, Optional endTime As Nullable(Of DateTime) = Nothing, Optional error As DataShareErrorInfo = Nothing, Optional startTime As Nullable(Of DateTime) = Nothing)

Parameters

status
String

Operation state of the long running operation. Possible values include: 'Accepted', 'InProgress', 'TransientFailure', 'Succeeded', 'Failed', 'Canceled'

endTime
Nullable<DateTime>

start time

error
DataShareErrorInfo

The error property when status is failed.

startTime
Nullable<DateTime>

start time

Applies to