ArmDataShareModelFactory.DataShareOperationResult Method
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 DataShareOperationResult.
public static Azure.ResourceManager.DataShare.Models.DataShareOperationResult DataShareOperationResult (DateTimeOffset? endOn = default, Azure.ResponseError error = default, DateTimeOffset? startOn = default, Azure.ResourceManager.DataShare.Models.DataShareOperationStatus status = default);
static member DataShareOperationResult : Nullable<DateTimeOffset> * Azure.ResponseError * Nullable<DateTimeOffset> * Azure.ResourceManager.DataShare.Models.DataShareOperationStatus -> Azure.ResourceManager.DataShare.Models.DataShareOperationResult
Public Shared Function DataShareOperationResult (Optional endOn As Nullable(Of DateTimeOffset) = Nothing, Optional error As ResponseError = Nothing, Optional startOn As Nullable(Of DateTimeOffset) = Nothing, Optional status As DataShareOperationStatus = Nothing) As DataShareOperationResult
Parameters
- endOn
- Nullable<DateTimeOffset>
start time.
- error
- ResponseError
The error property when status is failed.
- startOn
- Nullable<DateTimeOffset>
start time.
- status
- DataShareOperationStatus
Operation state of the long running operation.
Returns
A new DataShareOperationResult instance for mocking.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET