C# Class Microsoft.Research.DataOnboarding.Utilities.OperationStatus

Class representing the status of the operation performed by the service method.
Datei anzeigen Open project: CDLUC3/dataup2

Public Methods

Method Description
CreateFailureStatus ( Exception exception ) : OperationStatus

Create a failure Operation status message.

CreateFailureStatus ( string errorMessage ) : OperationStatus

Create a failure Operation status message.

CreateFailureStatus ( string errorMessage, Exception exception ) : OperationStatus

Create a failure Operation status message.

CreateSuccessStatus ( ) : OperationStatus

Create a success Operation status message.

Method Details

CreateFailureStatus() public static method

Create a failure Operation status message.
public static CreateFailureStatus ( Exception exception ) : OperationStatus
exception System.Exception Exception occurred.
return OperationStatus

CreateFailureStatus() public static method

Create a failure Operation status message.
public static CreateFailureStatus ( string errorMessage ) : OperationStatus
errorMessage string Custom error message.
return OperationStatus

CreateFailureStatus() public static method

Create a failure Operation status message.
public static CreateFailureStatus ( string errorMessage, Exception exception ) : OperationStatus
errorMessage string Custom error message.
exception System.Exception Exception occurred.
return OperationStatus

CreateSuccessStatus() public static method

Create a success Operation status message.
public static CreateSuccessStatus ( ) : OperationStatus
return OperationStatus