OperationResult 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
OperationResult() |
Initializes a new instance of the OperationResult class. |
OperationResult(String, OperationError) |
Initializes a new instance of the OperationResult class. |
OperationResult()
Initializes a new instance of the OperationResult class.
public OperationResult ();
Public Sub New ()
Applies to
OperationResult(String, OperationError)
Initializes a new instance of the OperationResult class.
public OperationResult (string status = default, Microsoft.Azure.Management.LabServices.Models.OperationError error = default);
new Microsoft.Azure.Management.LabServices.Models.OperationResult : string * Microsoft.Azure.Management.LabServices.Models.OperationError -> Microsoft.Azure.Management.LabServices.Models.OperationResult
Public Sub New (Optional status As String = Nothing, Optional error As OperationError = Nothing)
Parameters
- status
- System.String
The operation status.
- error
- OperationError
Error details for the operation in case of a failure.