Modifier

Partager via


RefreshResponseInfo Class

Definition

Contains response information returned as a result of a registration lookup table refresh operation on the peer resolver.

public ref class RefreshResponseInfo
[System.ServiceModel.MessageContract(IsWrapped=false)]
public class RefreshResponseInfo
[<System.ServiceModel.MessageContract(IsWrapped=false)>]
type RefreshResponseInfo = class
Public Class RefreshResponseInfo
Inheritance
RefreshResponseInfo
Attributes

Remarks

When Refresh(RefreshInfo) or an implementation of Refresh(RefreshInfo) is called, this object is returned to the client. It contains the refreshed registration entry with the new expiry timestamp, and is returned when a previous RefreshInfo instance is sent to the peer resolver as part of a request to update the expiry of a registration entry.

Instances of this class are primarily used to pass information from the resolver service to a network client of that service.

Constructors

RefreshResponseInfo()

Initializes a new default instance of the RefreshResponseInfo class.

RefreshResponseInfo(TimeSpan, RefreshResult)

Initializes a new instance of the RefreshResponseInfo class with the provided registration lifetime and refresh results.

Properties

RegistrationLifetime

Gets or sets amount of time before a registration expires and is removed by the resolver service.

Result

Gets or sets the result of a refresh operation.

Methods

Equals(Object)

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

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
HasBody()

Indicates whether the body of the message containing a serialized instance of this type is correctly formed.

MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to