Muokkaa

Jaa


CustomPeerResolverService.CleanupInterval Property

Definition

Gets or sets the recurring length of time after which stale entries are deleted from the peer resolver service's registration lookup table.

public:
 property TimeSpan CleanupInterval { TimeSpan get(); void set(TimeSpan value); };
public TimeSpan CleanupInterval { get; set; }
member this.CleanupInterval : TimeSpan with get, set
Public Property CleanupInterval As TimeSpan

Property Value

TimeSpan that specifies the time interval after which stale entries are deleted from the peer resolver service's registration lookup table.

Exceptions

The interval is either zero or greater than Int32.MaxValue.

An attempt to set the property was made after a call to Open().

Remarks

This property must be set before the peer resolver service has been and must not be zero. The default interval is 1 minute.

This value must be less than the value of RefreshInterval to avoid the occurrence of stale entries in the peer resolver service's registration lookup table.

Applies to