| FaultExceptionTBody Constructor (HttpStatusCode, TBody) |
Represents the fault exception
Namespace:
RestSrvr.Exceptions
Assembly:
RestSrvr (in RestSrvr.dll) Version: 3.0.481-alpha
Syntax public FaultException(
HttpStatusCode statusCode,
TBody data
)
Public Sub New (
statusCode As HttpStatusCode,
data As TBody
)
public:
FaultException(
HttpStatusCode statusCode,
TBody data
)
new :
statusCode : HttpStatusCode *
data : 'TBody -> FaultException
Parameters
- statusCode
- Type: System.NetHttpStatusCode
[Missing <param name="statusCode"/> documentation for "M:RestSrvr.Exceptions.FaultException`1.#ctor(System.Net.HttpStatusCode,`0)"]
- data
- Type: TBody
[Missing <param name="data"/> documentation for "M:RestSrvr.Exceptions.FaultException`1.#ctor(System.Net.HttpStatusCode,`0)"]
See Also