OperationResponse(String, Exception) Constructor

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

Parameters

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