Table of Contents

Class RevitServerUiApiException

Namespace
RevitServerNet
Assembly
RevitServerNet.dll

Exception for Revit Server UI API errors.

public class RevitServerUiApiException : Exception, ISerializable

Inheritance

Implements

Inherited Members

Constructors

RevitServerUiApiException(string)

public RevitServerUiApiException(string message)

Parameters

message string

RevitServerUiApiException(string, Exception)

public RevitServerUiApiException(string message, Exception innerException)

Parameters

message string
innerException Exception

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

message string
statusCode HttpStatusCode
responseContent string
innerException Exception

Properties

ResponseContent

Body of the error response; null when the server returned no HTTP response.

public string ResponseContent { get; }

Property Value

string

StatusCode

HTTP status code of the error response; null when the server returned no HTTP response.

public HttpStatusCode? StatusCode { get; }

Property Value

HttpStatusCode?