Class RevitServerUiApiException
- Namespace
- RevitServerNet
- Assembly
- RevitServerNet.dll
Exception for Revit Server UI API errors.
public class RevitServerUiApiException : Exception, ISerializableInheritance
Implements
Inherited Members
Constructors
RevitServerUiApiException(string)
public RevitServerUiApiException(string message)Parameters
messagestring
RevitServerUiApiException(string, Exception)
public RevitServerUiApiException(string message, Exception innerException)Parameters
RevitServerUiApiException(string, HttpStatusCode, string, Exception)
Creates an exception for an HTTP error response returned by the server.
public RevitServerUiApiException(string message, HttpStatusCode statusCode, string responseContent, Exception innerException)Parameters
messagestringstatusCodeHttpStatusCoderesponseContentstringinnerExceptionException
Properties
ResponseContent
Body of the error response; null when the server returned no HTTP response.
public string ResponseContent { get; }Property Value
StatusCode
HTTP status code of the error response; null when the server returned no HTTP response.
public HttpStatusCode? StatusCode { get; }