Table of Contents

Class ServiceBindingContext

Namespace
OpenServiceBroker.Bindings
Assembly
OpenServiceBroker.Server.dll

Identifies a specific Service Binding to apply an operation to.

public class ServiceBindingContext : ServiceInstanceContext, IEquatable<ServiceInstanceContext>, IEquatable<ServiceBindingContext>
Inheritance
ServiceBindingContext
Implements
Inherited Members
Extension Methods

Constructors

ServiceBindingContext(string, string)

Creates a new Service Binding context.

public ServiceBindingContext(string instanceId, string bindingId)

Parameters

instanceId string

The ID of the Service Instance.

bindingId string

The ID of the Service Binding.

ServiceBindingContext(string, string, OriginatingIdentity?)

Creates a new Service Binding context.

public ServiceBindingContext(string instanceId, string bindingId, OriginatingIdentity? originatingIdentity)

Parameters

instanceId string

The ID of the Service Instance.

bindingId string

The ID of the Service Binding.

originatingIdentity OriginatingIdentity

Describes the identity of the user that initiated a request from the Platform.

Properties

BindingId

The ID of the Service Binding.

public string BindingId { get; }

Property Value

string

Methods

Equals(ServiceBindingContext?)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(ServiceBindingContext? other)

Parameters

other ServiceBindingContext

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

Equals(object?)

Determines whether the specified object is equal to the current object.

public override bool Equals(object? obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.

Operators

operator ==(ServiceBindingContext?, ServiceBindingContext?)

public static bool operator ==(ServiceBindingContext? left, ServiceBindingContext? right)

Parameters

left ServiceBindingContext
right ServiceBindingContext

Returns

bool

operator !=(ServiceBindingContext?, ServiceBindingContext?)

public static bool operator !=(ServiceBindingContext? left, ServiceBindingContext? right)

Parameters

left ServiceBindingContext
right ServiceBindingContext

Returns

bool