Send an error to the client.

Namespace: yWorks.yFiles.Graph.Web
Assembly: yFilesServer (in yFilesServer.dll) Version: 1.8.0.0 (1.8)

Syntax

C#
public virtual void SendError(
	Exception ex,
	HttpContext context
)
Visual Basic
Public Overridable Sub SendError ( _
	ex As Exception, _
	context As HttpContext _
)

Parameters

ex
Type: System..::..Exception
An Exception.
context
Type: System.Web..::..HttpContext
The current http context.

Remarks

This method delegates to SendError(String, HttpContext), passing the exception's message.

See Also