C# 클래스 Tomboy.Sync.SyncLockInfo

파일 보기 프로젝트 열기: oluc/tomboy 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
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