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
State
The current state.
[JsonProperty("state", Required = Required.Always)]
[JsonConverter(typeof(StringEnumConverter))]
public LastOperationResourceState State { get; set; }
Property Value
Methods
Equals(LastOperationResource)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(LastOperationResource other)
Parameters
other
LastOperationResourceAn 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.