Table of Contents

Class AsyncOperation

Namespace
OpenServiceBroker
Assembly
OpenServiceBroker.Model.dll
public class AsyncOperation : ICompletable, IEquatable<AsyncOperation>
Inheritance
AsyncOperation
Implements
Derived
Inherited Members
Extension Methods

Properties

Completed

Indicates whether this operation has already been completed synchronously and therefore requires no polling.

[JsonIgnore]
public bool Completed { get; set; }

Property Value

bool

Remarks

This is not part of the Open Service Broker JSON representation. Instead it is communicated out of band via HTTP status codes.

Operation

[JsonProperty("operation")]
public string Operation { get; set; }

Property Value

string

Methods

Equals(AsyncOperation)

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

public bool Equals(AsyncOperation other)

Parameters

other AsyncOperation

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.