Szerkesztés

Megosztás a következőn keresztül:


RefreshInfo Class

Definition

Defines the information for the refresh of a registration entry by a peer resolver service.

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

Remarks

When a peer resolver service refreshes an entry, it sets a new expiry on that entry. An instance of this object must be supplied to the peer resolver service for each peer node that should have its expiration refreshed; otherwise, the entry is marked as stale and will be deleted after a specific interval for cleanup has passed.

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

Constructors

RefreshInfo()

Initializes a new default instance of the RefreshInfo class.

RefreshInfo(String, Guid)

Initializes a new instance of the RefreshInfo class with the provided mesh ID and unique registration ID.

Properties

MeshId

Gets the mesh ID of the registration entry to refresh.

RegistrationId

Gets the unique registration ID of the registration entry to refresh.

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