OperationResponse.Error (Int64, String, Exception) Method

Create an error
Public Shared Function Error( _ 
ByVal event_id As Long, _ 
ByVal msg As String, _ 
ByVal exception As Exception
) As OperationResponse
This language is not supported or no code example is available.
public static OperationResponse Error( 
long event_id
string msg
Exception exception 
)
This language is not supported or no code example is available.
public:  
static OperationResponse^ Error( 
long event_id
String^ msg
Exception^ exception 
)
This language is not supported or no code example is available.
public static function Error( 
event_id : long
msg : String
exception : Exception 
) : OperationResponse;
This language is not supported or no code example is available.

Parameters

event_id
long

<default>

msg
string

the error message

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.

Return Value

OperationResponse

the response object

.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