示例#1
0
 public OPEN_VIRTUAL_DISK_PARAMETERS(bool getInfoOnly, bool readOnly, Guid resiliencyGuid) : this()
 {
     if (Environment.OSVersion.Version < new Version(6, 2))
     {
         throw new InvalidOperationException();
     }
     Version        = OPEN_VIRTUAL_DISK_VERSION.OPEN_VIRTUAL_DISK_VERSION_2;
     GetInfoOnly    = getInfoOnly;
     ReadOnly       = readOnly;
     ResiliencyGuid = resiliencyGuid;
 }
示例#2
0
 public OPEN_VIRTUAL_DISK_PARAMETERS(uint rwDepth) : this()
 {
     Version = OPEN_VIRTUAL_DISK_VERSION.OPEN_VIRTUAL_DISK_VERSION_1;
     RWDepth = rwDepth;
 }