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
ServiceBindingContext(string, string, OriginatingIdentity?)
Creates a new Service Binding context.
public ServiceBindingContext(string instanceId, string bindingId, OriginatingIdentity? originatingIdentity)
Parameters
instanceId
stringThe ID of the Service Instance.
bindingId
stringThe ID of the Service Binding.
originatingIdentity
OriginatingIdentityDescribes 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
Methods
Equals(ServiceBindingContext?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(ServiceBindingContext? other)
Parameters
other
ServiceBindingContextAn object to compare with this object.
Returns
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
obj
objectThe object to compare with the current object.
Returns
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
ServiceBindingContextright
ServiceBindingContext
Returns
operator !=(ServiceBindingContext?, ServiceBindingContext?)
public static bool operator !=(ServiceBindingContext? left, ServiceBindingContext? right)
Parameters
left
ServiceBindingContextright
ServiceBindingContext