Table of Contents

Class ServiceInstanceEndpointBase<TServiceBindingEndpointInterface, TServiceBindingEndpoint>

Namespace
OpenServiceBroker.Instances
Assembly
OpenServiceBroker.Client.dll

A Service Instance endpoint.

public abstract class ServiceInstanceEndpointBase<TServiceBindingEndpointInterface, TServiceBindingEndpoint> : ServiceBrokerEndpointBase, IServiceInstanceEndpointBase<TServiceBindingEndpointInterface>, IEndpoint where TServiceBindingEndpointInterface : IServiceBindingEndpointBase where TServiceBindingEndpoint : class, TServiceBindingEndpointInterface

Type Parameters

TServiceBindingEndpointInterface
A Service Instance endpoint.
TServiceBindingEndpoint
A Service Instance endpoint.
Inheritance
ServiceInstanceEndpointBase<TServiceBindingEndpointInterface, TServiceBindingEndpoint>
Implements
IServiceInstanceEndpointBase<TServiceBindingEndpointInterface>
Derived
Inherited Members
Extension Methods

Constructors

ServiceInstanceEndpointBase(IEndpoint, Uri, bool)

A Service Instance endpoint.

protected ServiceInstanceEndpointBase(IEndpoint referrer, Uri relativeUri, bool acceptsIncomplete = false)

Parameters

referrer IEndpoint

The endpoint used to navigate to this one.

relativeUri Uri

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

acceptsIncomplete bool

A value of true indicates that the Platform and its clients support deferred (asynchronous) Service Broker operations. If this parameter is false, and the Service Broker can only handle a request deferred (asynchronously) AsyncRequiredException is thrown.

Properties

ServiceBindings

Exposes bindings for this Service Instance.

public IIndexerEndpoint<TServiceBindingEndpointInterface> ServiceBindings { get; }

Property Value

IIndexerEndpoint<TServiceBindingEndpointInterface>

Methods

FetchAsync()

Fetches a Service Instance.

public Task<ServiceInstanceResource> FetchAsync()

Returns

Task<ServiceInstanceResource>

Exceptions

NotFoundException

The instance does not exist or a provisioning operation is still in progress.

ConcurrencyException

The instance is being updated and therefore cannot be fetched at this time.