OpenServiceBroker for .NET 0.4.3
client and a server .NET library for the Open Service Broker API specification
OpenServiceBroker.Errors.BrokerException Class Reference

The request to the Service Broker failed. More...

Inheritance diagram for OpenServiceBroker.Errors.BrokerException:
OpenServiceBroker.Errors.ApiVersionNotSupportedException OpenServiceBroker.Errors.AsyncRequiredException OpenServiceBroker.Errors.BadRequestException OpenServiceBroker.Errors.ConcurrencyException OpenServiceBroker.Errors.ConflictException OpenServiceBroker.Errors.GoneException OpenServiceBroker.Errors.MaintenanceInfoConflictException OpenServiceBroker.Errors.NotFoundException OpenServiceBroker.Errors.RequiresAppException

Public Member Functions

 BrokerException (string message, string errorCode, HttpStatusCode httpCode=(HttpStatusCode) 422)
 
Error ToResponse ()
 Serializes the exception to an error response object.
 

Static Public Member Functions

static BrokerException FromResponse (Error dto, HttpStatusCode statusCode)
 Deserializes the exception from an error response object.
 

Properties

string ErrorCode [get]
 
HttpStatusCode HttpCode [get]
 
bool? InstanceUsable [getset]
 If an update or deprovisioning operation failed, this flag indicates whether or not the Service Instance is still usable. If true, the Service Instance can still be used, false otherwise. This field MUST NOT be present for errors of other operations. Defaults to true.
 
bool? UpdateRepeatable [getset]
 If an update operation failed, this flag indicates whether this update can be repeated or not. If true, the same update operation MAY be repeated and MAY succeed; if false, repeating the same update operation will fail again. This field MUST NOT be present for errors of other operations. Defaults to true.
 

Detailed Description

The request to the Service Broker failed.


The documentation for this class was generated from the following file: