OperationResponse(OperationResponseLevel, String, Exception) Constructor

A server response that denotes an error
Public Sub New( _ 
ByVal level As OperationResponseLevel, _ 
ByVal message As String, _ 
ByVal exception As Exception _ 
)
This language is not supported or no code example is available.
public OperationResponse( 
OperationResponseLevel level, 
string message, 
Exception exception 
)
This language is not supported or no code example is available.
public:  
OperationResponse( 
OperationResponseLevel level, 
String^ message, 
Exception^ exception 
)
This language is not supported or no code example is available.
public function OperationResponse( 
level : OperationResponseLevel, 
message : String, 
exception : Exception 
);
This language is not supported or no code example is available.

Parameters

level
OperationResponseLevel

the level of the response

message
string

the message to go along with the response

exception
Exception

the exception that caused the error response. Note that the exception is not serialised, and is intended to be used internally for logging purposes.

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1

In this article

Definition