C# Класс Tomboy.Sync.SyncLockInfo

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
ClientId string
Duration System.TimeSpan
RenewCount int
Revision int
TransactionId string

Открытые методы

Метод Описание
SyncLockInfo ( ) : System

Описание методов

SyncLockInfo() публичный Метод

public SyncLockInfo ( ) : System
Результат System

Описание свойств

ClientId публичное свойство

A string to identify which client currently has the lock open. Not guaranteed to be unique.
public string ClientId
Результат string

Duration публичное свойство

A TimeSpan to indicate how long the current synchronization will take. If the current synchronization will take longer than this, the client synchronizing should update the lock file to indicate this.
public TimeSpan,System Duration
Результат System.TimeSpan

RenewCount публичное свойство

Indicates how many times the client has renewed the lock. Subsequent clients should watch this (along with the LockOwner) to determine whether the currently synchronizing client has becomeeither inactive. Clients currently synchronizing should update the lock file before the duration expires to prevent other clients from overtaking the lock.
public int RenewCount
Результат int

Revision публичное свойство

Specifies the current revision that this lock is for. The client that lays the lock file down should specify which revision they're creating. Clients needing to perform cleanup may want to know which revision files to clean up by reading the value of this.
public int Revision
Результат int

TransactionId публичное свойство

Unique ID for the sync transaction associated with the lock.
public string TransactionId
Результат string