Table of Contents

Class LastOperationResource

Namespace
OpenServiceBroker
Assembly
OpenServiceBroker.Model.dll

Represents the state of the last requested deferred operation.

public class LastOperationResource : StatusBase, IEquatable<LastOperationResource>
Inheritance
LastOperationResource
Implements
Inherited Members
Extension Methods

Properties

RetryAfter

Indicates how long the platform should wait before polling again. Only used on server-side. See LastOperationEndpoint.PollingInterval instead on client-side.

[JsonIgnore]
public TimeSpan? RetryAfter { get; set; }

Property Value

TimeSpan?

State

The current state.

[JsonProperty("state", Required = Required.Always)]
[JsonConverter(typeof(StringEnumConverter))]
public LastOperationResourceState State { get; set; }

Property Value

LastOperationResourceState

Methods

Equals(LastOperationResource)

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

public bool Equals(LastOperationResource other)

Parameters

other LastOperationResource

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.