Collapse All Expand All | Language Filter: C#Language Filter: Visual Basic Language Filter: Visual C++ C# Visual Basic Visual C++ | See Also
StreamBase Client API
LiveViewHttpException Constructor (LiveViewExceptionCode, HttpStatusCode, String, String, array<Object>[]()[][])

Create a LiveViewException with the given message. Convenience method equivalent to LiveViewHttpException(httpStatus, String.Format(msg, params)).

Namespace: StreamBase.LiveView.API
Assembly: StreamBase.LiveView.API (in StreamBase.LiveView.API.dll) Version: 10.3.0.4 (10.3.0.4)

# Syntax

| C# |  |  | Visual Basic |  |  | Visual C++ |

    public LiveViewHttpException(
    	LiveViewExceptionCode excode,
    	HttpStatusCode httpStatus,
    	string httpDescription,
    	string msg,
    	params Object[] parms
    )

    Public Sub New ( _
    	excode As LiveViewExceptionCode, _
    	httpStatus As HttpStatusCode, _
    	httpDescription As String, _
    	msg As String, _
    	ParamArray parms As Object() _
    )

    public:
    LiveViewHttpException(
    	LiveViewExceptionCode excode,
    	HttpStatusCode httpStatus,
    	String^ httpDescription,
    	String^ msg,
    	... array<Object^>^ parms
    )

#### Parameters

excode
  LiveViewExceptionCode
  LiveViewExceptionCode describing this exception.

httpStatus
  HttpStatusCode
  The status code received as a result of the HTTP operation.

httpDescription
  String
  The status description received as a result of the HTTP operation.

msg
  String
  Message explaining the reason for this exception.

parms
  array<Object>[]()[][]
  The parameters to be applied to 'msg' in the call to String.Format(msg, params).

# See Also

LiveViewHttpException Class
LiveViewHttpException Overload
StreamBase.LiveView.API Namespace