Create an error

Namespace: Contracts.Responses
Assembly: Contracts (in Contracts.dll)

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

Parameters

event_id
Type: long

msg
Type: string

the error message

Return Value

Type: 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