Table of Contents

Class ServiceBindingBlockingEndpoint

Namespace
OpenServiceBroker.Bindings
Assembly
OpenServiceBroker.Client.dll

Represents a Service Binding for a specific Service Instance with blocking operations. If the Service Broker can only handle a request deferred (asynchronously) AsyncRequiredException is thrown.

public class ServiceBindingBlockingEndpoint : ServiceBindingEndpointBase, IServiceBindingEndpoint, IServiceBindingEndpointBase, IEndpoint
Inheritance
ServiceBindingBlockingEndpoint
Implements
Inherited Members
Extension Methods

Constructors

ServiceBindingBlockingEndpoint(IEndpoint, Uri)

Represents a Service Binding for a specific Service Instance with blocking operations. If the Service Broker can only handle a request deferred (asynchronously) AsyncRequiredException is thrown.

public ServiceBindingBlockingEndpoint(IEndpoint referrer, Uri relativeUri)

Parameters

referrer IEndpoint

The endpoint used to navigate to this one.

relativeUri Uri

The URI of this endpoint relative to the referrer's.

Methods

BindAsync(ServiceBindingRequest)

Generates the Service Binding.

public Task<ServiceBinding> BindAsync(ServiceBindingRequest request)

Parameters

request ServiceBindingRequest

Parameters for the requested Service Binding.

Returns

Task<ServiceBinding>

The binding.

Exceptions

ConflictException

A binding with the same id already exists but with different attributes.

UnbindAsync(string, string)

Unbinds/deletes the Service Binding.

public Task UnbindAsync(string serviceId, string planId)

Parameters

serviceId string

The id of the service associated with the binding being deleted.

planId string

The id of the plan associated with the binding being deleted.

Returns

Task

Exceptions

GoneException

The binding does not exist (anymore).