コード例 #1
0
 public WrongLengthException(LockFile lockFile, string inMethod, long length) : base(lockFile, inMethod)
 {
     this._length = length;
 }
コード例 #2
0
 public WrongMagicException(LockFile lockFile, string inMethod, byte[] magic) : base(lockFile, inMethod)
 {
     this._magic = magic;
 }
コード例 #3
0
 public UnexpectedFileNotFoundException(LockFile lockFile, string inMethod, Exception reason) : base(lockFile, inMethod)
 {
     this._reason = reason;
 }
コード例 #4
0
 public UnexpectedEndOfFileException(LockFile lockFile, string inMethod, InvalidOperationException reason) : base(lockFile, inMethod)
 {
     this._reason = reason;
 }
コード例 #5
0
 public LockHeldExternallyException(LockFile lockFile, string inMethod, long read, long heartbeat) : base(lockFile, inMethod)
 {
     this._read      = read;
     this._heartbeat = heartbeat;
 }
コード例 #6
0
 public FileSecurityException(LockFile lockFile, string inMethod, Exception reason) : base(lockFile, inMethod)
 {
     this._reason = reason;
 }
コード例 #7
0
 protected BaseException(SerializationInfo info, StreamingContext context) : base(info, context)
 {
     this._lockFile = (LockFile)info.GetValue("_lockFile", typeof(LockFile));
     this._inMethod = (string)info.GetValue("_inMethod", typeof(string));
 }