483 references to Error
System.IO.Log (483)
System\IO\Log\FileLogRecordEnumerator.cs (5)
83
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ObjectDisposed());
89
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.EnumNotStarted());
93
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.EnumEnded());
103
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ObjectDisposed());
165
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ObjectDisposed());
System\IO\Log\FileLogRecordHeader.cs (2)
42
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.LogCorrupt());
47
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.IncompatibleVersion());
System\IO\Log\FileLogRecordStream.cs (8)
55
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.LogCorrupt());
130
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ObjectDisposed());
142
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.LogCorrupt());
194
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ObjectDisposed());
236
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ObjectDisposed());
240
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.NotSupported());
248
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ObjectDisposed());
252
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.NotSupported());
System\IO\Log\FileRecordSequence.cs (25)
38
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ArgumentOutOfRange("size"));
143
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ArgumentNull("data"));
148
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.NotSupported(SR.NotSupported_ReadOnly));
154
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ArgumentOutOfRange("recordAppendOptions"));
197
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ArgumentNull("data"));
204
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ArgumentInvalid(SR.LogRecSeq_InvalidReservationCollection));
216
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ReservationNotFound());
392
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ArgumentInvalid(SR.AsyncResult_Invalid));
397
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ArgumentInvalid(SR.AsyncResult_Invalid));
411
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ArgumentInvalid(SR.AsyncResult_Invalid));
416
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ArgumentInvalid(SR.AsyncResult_Invalid));
429
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ArgumentInvalid(SR.AsyncResult_Invalid));
434
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ArgumentInvalid(SR.AsyncResult_Invalid));
447
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ArgumentInvalid(SR.AsyncResult_Invalid));
452
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ArgumentInvalid(SR.AsyncResult_Invalid));
545
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.NotSupported(SR.NotSupported_WriteOnly));
550
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ArgumentOutOfRange("logRecordEnum"));
561
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.NotSupported(SR.NotSupported_WriteOnly));
598
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ArgumentNull("reservationCollection"));
603
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ArgumentNull("reservations"));
611
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ArgumentInvalid(SR.LogRecSeq_InvalidReservationCollection));
617
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ArgumentOutOfRange("reservations"));
713
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ArgumentNull("data"));
723
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ArgumentInvalid(SR.LogRecSeq_InvalidReservationCollection));
734
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ReservationNotFound());
System\IO\Log\FileRecordSequenceCompletedAsyncResult.cs (1)
102
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.DuplicateEnd());
System\IO\Log\FileRecordSequenceHelper.cs (4)
161
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.SequenceNumberInvalid());
166
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.SequenceNumberNotActive("sequenceNumber"));
258
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ArgumentNull("data"));
309
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ArgumentOutOfRange(SR.Argument_TailInvalid, exception));
System\IO\Log\FileRegion.cs (3)
172
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.NotSupported());
177
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.NotSupported());
182
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.NotSupported());
System\IO\Log\LogExtentCollection.cs (8)
67
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ArgumentNull("path"));
71
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.InvalidOperation(SR.LogStore_SizeRequired));
85
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ArgumentNull("path"));
89
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ArgumentOutOfRange("size"));
96
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ArgumentInvalid(SR.LogStore_SizeTooSmall));
122
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ArgumentNull("path"));
137
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ArgumentNull("extent"));
230
Error
.InvalidOperation(SR.InvalidOperation_EnumFailedVersion));
System\IO\Log\LogFlushAsyncResult.cs (3)
68
if (errorCode !=
Error
.ERROR_IO_PENDING)
76
if (errorCode ==
Error
.ERROR_SUCCESS)
103
if (errorCode ==
Error
.ERROR_SUCCESS)
System\IO\Log\LogLogRecord.cs (9)
30
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.LogCorrupt());
42
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.IncompatibleVersion());
52
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.LogCorrupt());
184
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.NotSupported());
191
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ObjectDisposed());
195
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.NotSupported());
203
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ObjectDisposed());
207
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.NotSupported());
273
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ObjectDisposed());
System\IO\Log\LogLogRecordEnumerator.cs (5)
76
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ObjectDisposed());
82
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.EnumNotStarted());
85
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.EnumEnded());
117
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ObjectDisposed());
234
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ObjectDisposed());
System\IO\Log\LogLogRecordHeader.cs (2)
33
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.LogCorrupt());
142
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.LogCorrupt());
System\IO\Log\LogManagementAsyncResult.cs (6)
65
uint queuedErrorCode =
Error
.ERROR_SUCCESS;
77
uint errorCode =
Error
.ERROR_IO_PENDING;
88
if (errorCode !=
Error
.ERROR_IO_PENDING)
113
errorCode =
Error
.ERROR_LOG_FULL;
127
if (errorCode ==
Error
.ERROR_OPERATION_ABORTED)
237
if (errorCode ==
Error
.ERROR_SUCCESS)
System\IO\Log\LogPolicy.cs (6)
56
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ArgumentOutOfRange("value"));
69
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ArgumentOutOfRange("value"));
102
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ArgumentOutOfRange("value"));
116
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ArgumentNull("value"));
119
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ArgumentOutOfRange("value"));
132
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ArgumentOutOfRange("value"));
System\IO\Log\LogRecordSequence.cs (30)
89
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ArgumentOutOfRange("bufferSize"));
91
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ArgumentOutOfRange("bufferCount"));
111
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ArgumentOutOfRange("bufferSize"));
113
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ArgumentOutOfRange("bufferCount"));
130
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ArgumentNull("logStore"));
146
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ArgumentNull("logStore"));
149
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ArgumentOutOfRange("bufferSize"));
151
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ArgumentOutOfRange("bufferCount"));
330
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.NotSupported(SR.NotSupported_ReadOnly));
336
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ArgumentOutOfRange("recordAppendOptions"));
434
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.NotSupported(SR.NotSupported_ReadOnly));
440
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ArgumentOutOfRange("recordAppendOptions"));
544
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ArgumentNull("reservationCollection"));
548
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ArgumentNull("reservations"));
643
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.InvalidAsyncResult());
650
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.InvalidAsyncResult());
662
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.InvalidAsyncResult());
674
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.InvalidAsyncResult());
681
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.InvalidAsyncResult());
693
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.InvalidAsyncResult());
757
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ArgumentOutOfRange("logRecordEnum"));
808
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ArgumentNull("reservationCollection"));
812
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ArgumentNull("reservations"));
963
Error
.InvalidOperation(SR.InvalidOperation_MustHaveExtents));
989
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ArgumentOutOfRange("bufferSize"));
1001
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ArgumentNull("data"));
1010
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ArgumentInvalid(SR.LogRecSeq_Append_TooBig));
1025
Error
.ArgumentInvalid(SR.LogRecSeq_InvalidReservationCollection));
1029
Error
.ArgumentInvalid(SR.LogRecSeq_InvalidReservationCollection));
1040
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ArgumentOutOfRange("reservations"));
System\IO\Log\LogReservationCollection.cs (3)
47
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ReservationNotFound());
68
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ArgumentOutOfRange("size"));
90
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ArgumentOutOfRange("size"));
System\IO\Log\LogReserveAndAppendState.cs (10)
157
if (errorCode ==
Error
.ERROR_IO_PENDING)
277
if (errorCode ==
Error
.ERROR_SUCCESS)
281
else if (((errorCode ==
Error
.ERROR_NO_SYSTEM_RESOURCES)
282
|| (errorCode ==
Error
.ERROR_LOG_FULL))
287
if (errorCode ==
Error
.ERROR_IO_PENDING)
303
if (errorCode ==
Error
.ERROR_SUCCESS)
309
if (errorCode ==
Error
.ERROR_IO_PENDING)
327
if (errorCode ==
Error
.ERROR_SUCCESS)
579
uint errorCode =
Error
.ERROR_SUCCESS;
629
errorCode !=
Error
.ERROR_IO_PENDING)
System\IO\Log\LogRestartAreaEnumerator.cs (5)
56
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ObjectDisposed());
62
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.EnumNotStarted());
65
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.EnumEnded());
97
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ObjectDisposed());
195
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ObjectDisposed());
System\IO\Log\LogStore.cs (16)
136
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.PlatformNotSupported());
168
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ArgumentNull("handle"));
237
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ArgumentNull("path"));
268
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.PlatformNotSupported());
389
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.NotArchivable());
415
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ArgumentInvalid(SR.Argument_SnapshotBoundsInvalid));
437
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.NotArchivable());
470
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.SequenceNumberNotActive(paramName));
476
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.SequenceNumberInvalid());
487
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.SequenceNumberNotActive(paramName));
533
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ArgumentNull("path"));
539
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ArgumentOutOfRange("mode"));
544
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ArgumentOutOfRange("access"));
549
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ArgumentOutOfRange("share"));
554
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ArgumentInvalid(SR.Argument_CreateNewNoWrite));
558
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ArgumentInvalid(SR.Argument_OpenOrCreateNoWrite));
System\IO\Log\LogWriteRestartAreaState.cs (9)
125
if (errorCode ==
Error
.ERROR_IO_PENDING)
245
if (errorCode ==
Error
.ERROR_SUCCESS)
249
else if ((errorCode ==
Error
.ERROR_NO_SYSTEM_RESOURCES) && (this.recordSequence.RetryAppend))
253
if (errorCode ==
Error
.ERROR_IO_PENDING)
268
if (errorCode ==
Error
.ERROR_SUCCESS)
274
if (errorCode ==
Error
.ERROR_IO_PENDING)
291
if (errorCode ==
Error
.ERROR_SUCCESS)
460
uint errorCode =
Error
.ERROR_SUCCESS;
521
errorCode !=
Error
.ERROR_IO_PENDING)
System\IO\Log\OverlappedAsyncResult.cs (1)
134
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.DuplicateEnd());
System\IO\Log\PolicyUnit.cs (3)
19
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ArgumentOutOfRange("value"));
24
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ArgumentOutOfRange("value"));
28
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ArgumentOutOfRange("type"));
System\IO\Log\ReservationCollection.cs (14)
74
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ArgumentOutOfRange("size"));
154
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ArgumentNull("array"));
159
Error
.ArgumentInvalid(SR.Argument_ArrayIsMultiDimensional));
163
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ArgumentOutOfRange("arrayIndex"));
173
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ArgumentInvalid(SR.Argument_CopyNotEnoughSpace));
252
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ArgumentOutOfRange("size"));
277
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ArgumentInvalid(SR.Argument_ReservationNotFound));
376
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ObjectDisposed());
384
Error
.InvalidOperation(SR.InvalidOperation_EnumNotStarted));
391
Error
.InvalidOperation(SR.InvalidOperation_EnumEnded));
402
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ObjectDisposed());
410
Error
.InvalidOperation(SR.InvalidOperation_EnumFailedVersion));
436
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ObjectDisposed());
445
Error
.InvalidOperation(SR.InvalidOperation_EnumFailedVersion));
System\IO\Log\SequenceNumber.cs (2)
20
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ArgumentNull("sequenceNumber"));
26
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ArgumentInvalid(SR.Argument_SequenceNumberLength));
System\IO\Log\SimpleFileLog.cs (14)
52
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ConvertKnownException(exception));
84
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ConvertKnownException(exception));
97
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ObjectDisposed());
107
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ConvertKnownException(exception));
119
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ObjectDisposed());
129
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ConvertKnownException(exception));
144
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ObjectDisposed());
154
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ConvertKnownException(exception));
171
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ObjectDisposed());
194
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ConvertKnownException(exception));
213
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ObjectDisposed());
237
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ConvertKnownException(exception));
262
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ObjectDisposed());
279
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ConvertKnownException(exception));
System\IO\Log\UnsafeNativeMethods.cs (289)
491
case
Error
.ERROR_SHARING_VIOLATION:
492
case
Error
.ERROR_ALREADY_EXISTS:
493
case
Error
.ERROR_ACCESS_DENIED:
494
case
Error
.ERROR_FILE_NOT_FOUND:
495
case
Error
.ERROR_PATH_NOT_FOUND:
496
case
Error
.ERROR_NO_SYSTEM_RESOURCES:
497
case
Error
.ERROR_OUTOFMEMORY:
498
case
Error
.ERROR_INVALID_PARAMETER:
499
case
Error
.ERROR_INVALID_NAME:
500
case
Error
.ERROR_BAD_PATHNAME:
501
case
Error
.ERROR_BAD_NETPATH:
502
case
Error
.ERROR_CANT_RESOLVE_FILENAME:
503
case
Error
.ERROR_LOG_BLOCK_VERSION:
504
case
Error
.ERROR_LOG_BLOCK_INVALID:
505
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ExceptionForKnownCode(errorCode));
506
case
Error
.ERROR_NOT_SUPPORTED:
509
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ExceptionForUnknownCode(errorCode));
525
case
Error
.ERROR_ACCESS_DENIED:
526
case
Error
.ERROR_FILE_NOT_FOUND:
527
case
Error
.ERROR_INVALID_PARAMETER:
528
case
Error
.ERROR_SHARING_VIOLATION:
529
case
Error
.ERROR_INVALID_NAME:
530
case
Error
.ERROR_BAD_PATHNAME:
531
case
Error
.ERROR_BAD_NETPATH:
532
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ExceptionForKnownCode(errorCode));
533
case
Error
.ERROR_NOT_SUPPORTED:
536
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ExceptionForUnknownCode(errorCode));
551
case
Error
.ERROR_INVALID_HANDLE:
552
case
Error
.ERROR_ACCESS_DENIED:
553
case
Error
.ERROR_INVALID_PARAMETER:
554
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ExceptionForKnownCode(errorCode));
557
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ExceptionForUnknownCode(errorCode));
573
if (errorCode ==
Error
.ERROR_IO_PENDING)
581
case
Error
.ERROR_INVALID_HANDLE:
582
case
Error
.ERROR_ACCESS_DENIED:
583
case
Error
.ERROR_INVALID_PARAMETER:
584
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ExceptionForKnownCode(errorCode));
587
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ExceptionForUnknownCode(errorCode));
598
uint errorCode =
Error
.ERROR_SUCCESS;
612
if (errorCode ==
Error
.ERROR_IO_PENDING)
620
case
Error
.ERROR_INVALID_HANDLE:
621
case
Error
.ERROR_ACCESS_DENIED:
622
case
Error
.ERROR_INVALID_PARAMETER:
623
return DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ExceptionForKnownCode(errorCode));
626
return DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ExceptionForUnknownCode(errorCode));
653
case
Error
.ERROR_INVALID_HANDLE:
654
case
Error
.ERROR_ACCESS_DENIED:
655
case
Error
.ERROR_OUTOFMEMORY:
656
case
Error
.ERROR_NO_SYSTEM_RESOURCES:
657
case
Error
.ERROR_INVALID_PARAMETER:
658
case
Error
.ERROR_INVALID_STATE:
659
case
Error
.ERROR_LOG_NOT_ENOUGH_CONTAINERS:
660
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ExceptionForKnownCode(errorCode));
663
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ExceptionForUnknownCode(errorCode));
683
case
Error
.ERROR_INVALID_HANDLE:
684
case
Error
.ERROR_INVALID_PARAMETER:
685
case
Error
.ERROR_IO_DEVICE:
686
case
Error
.ERROR_LOG_RESERVATION_INVALID:
687
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ExceptionForKnownCode(errorCode));
690
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ExceptionForUnknownCode(errorCode));
707
case
Error
.ERROR_NO_SYSTEM_RESOURCES:
708
case
Error
.ERROR_LOG_FULL:
709
case
Error
.ERROR_INVALID_HANDLE:
710
case
Error
.ERROR_ACCESS_DENIED:
711
case
Error
.ERROR_INVALID_PARAMETER:
712
case
Error
.ERROR_IO_DEVICE:
713
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ExceptionForKnownCode(errorCode));
716
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ExceptionForUnknownCode(errorCode));
733
case
Error
.ERROR_NO_SYSTEM_RESOURCES:
734
case
Error
.ERROR_LOG_FULL:
735
case
Error
.ERROR_INVALID_HANDLE:
736
case
Error
.ERROR_ACCESS_DENIED:
737
case
Error
.ERROR_INVALID_PARAMETER:
738
case
Error
.ERROR_IO_DEVICE:
739
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ExceptionForKnownCode(errorCode));
742
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ExceptionForUnknownCode(errorCode));
765
if (errorCode ==
Error
.ERROR_IO_PENDING)
773
case
Error
.ERROR_LOG_NO_RESTART:
776
case
Error
.ERROR_LOG_BLOCK_INCOMPLETE:
777
case
Error
.ERROR_INVALID_HANDLE:
778
case
Error
.ERROR_ACCESS_DENIED:
779
case
Error
.ERROR_INVALID_PARAMETER:
780
case
Error
.ERROR_IO_DEVICE:
781
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ExceptionForKnownCode(errorCode));
784
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ExceptionForUnknownCode(errorCode));
804
if (errorCode ==
Error
.ERROR_IO_PENDING)
812
case
Error
.ERROR_LOG_START_OF_LOG:
815
case
Error
.ERROR_LOG_BLOCK_INCOMPLETE:
816
case
Error
.ERROR_INVALID_HANDLE:
817
case
Error
.ERROR_ACCESS_DENIED:
818
case
Error
.ERROR_INVALID_PARAMETER:
819
case
Error
.ERROR_IO_DEVICE:
820
case
Error
.ERROR_LOG_READ_CONTEXT_INVALID:
821
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ExceptionForKnownCode(errorCode));
824
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ExceptionForUnknownCode(errorCode));
855
if (errorCode ==
Error
.ERROR_IO_PENDING)
863
case
Error
.ERROR_HANDLE_EOF:
866
case
Error
.ERROR_NOT_FOUND:
867
case
Error
.ERROR_LOG_START_OF_LOG:
868
case
Error
.ERROR_LOG_BLOCK_INVALID:
869
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ArgumentInvalid(SR.Argument_InvalidStartSequenceNumber));
871
case
Error
.ERROR_LOG_BLOCK_INCOMPLETE:
872
case
Error
.ERROR_INVALID_HANDLE:
873
case
Error
.ERROR_ACCESS_DENIED:
874
case
Error
.ERROR_INVALID_PARAMETER:
875
case
Error
.ERROR_IO_DEVICE:
876
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ExceptionForKnownCode(errorCode));
879
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ExceptionForUnknownCode(errorCode));
905
if (errorCode ==
Error
.ERROR_IO_PENDING)
913
case
Error
.ERROR_HANDLE_EOF:
914
case
Error
.ERROR_LOG_START_OF_LOG:
917
case
Error
.ERROR_LOG_BLOCK_INCOMPLETE:
918
case
Error
.ERROR_INVALID_HANDLE:
919
case
Error
.ERROR_ACCESS_DENIED:
920
case
Error
.ERROR_INVALID_PARAMETER:
921
case
Error
.ERROR_IO_DEVICE:
922
case
Error
.ERROR_LOG_READ_CONTEXT_INVALID:
923
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ExceptionForKnownCode(errorCode));
926
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ExceptionForUnknownCode(errorCode));
945
uint errorCode =
Error
.ERROR_SUCCESS;
965
if (errorCode ==
Error
.ERROR_IO_PENDING)
973
case
Error
.ERROR_NO_SYSTEM_RESOURCES:
974
case
Error
.ERROR_LOG_FULL:
975
case
Error
.ERROR_INVALID_HANDLE:
976
case
Error
.ERROR_ACCESS_DENIED:
977
case
Error
.ERROR_INVALID_PARAMETER:
978
case
Error
.ERROR_IO_DEVICE:
979
return DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ExceptionForKnownCode(errorCode));
982
return DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ExceptionForUnknownCode(errorCode));
995
uint errorCode =
Error
.ERROR_SUCCESS;
1020
uint errorCode =
Error
.ERROR_SUCCESS;
1038
if (errorCode ==
Error
.ERROR_IO_PENDING)
1046
case
Error
.ERROR_NO_SYSTEM_RESOURCES:
1047
case
Error
.ERROR_LOG_FULL:
1048
case
Error
.ERROR_INVALID_HANDLE:
1049
case
Error
.ERROR_ACCESS_DENIED:
1050
case
Error
.ERROR_IO_DEVICE:
1051
case
Error
.ERROR_INVALID_PARAMETER:
1052
case
Error
.ERROR_LOG_TAIL_INVALID:
1053
return DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ExceptionForKnownCode(errorCode));
1056
return DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ExceptionForUnknownCode(errorCode));
1070
if (errorCode ==
Error
.ERROR_IO_PENDING)
1078
case
Error
.ERROR_INVALID_HANDLE:
1079
case
Error
.ERROR_CANT_RESOLVE_FILENAME:
1080
case
Error
.ERROR_ACCESS_DENIED:
1081
case
Error
.ERROR_INVALID_PARAMETER:
1082
case
Error
.ERROR_INVALID_NAME:
1083
case
Error
.ERROR_ALREADY_EXISTS:
1084
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ExceptionForKnownCode(errorCode));
1086
case
Error
.ERROR_DISK_FULL:
1087
case
Error
.ERROR_MEDIUM_FULL:
1088
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ExceptionForKnownCode(
Error
.LOGSTORE_ERROR_DISK_FULL));
1090
case
Error
.ERROR_DUP_NAME:
1091
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.InvalidOperation(SR.LogStore_DuplicateExtent));
1094
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ExceptionForUnknownCode(errorCode));
1109
if (errorCode ==
Error
.ERROR_IO_PENDING)
1117
case
Error
.ERROR_INVALID_HANDLE:
1118
case
Error
.ERROR_CANT_RESOLVE_FILENAME:
1119
case
Error
.ERROR_ACCESS_DENIED:
1120
case
Error
.ERROR_INVALID_PARAMETER:
1121
case
Error
.ERROR_INVALID_NAME:
1122
case
Error
.ERROR_ALREADY_EXISTS:
1123
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ExceptionForKnownCode(errorCode));
1125
case
Error
.ERROR_DISK_FULL:
1126
case
Error
.ERROR_MEDIUM_FULL:
1127
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ExceptionForKnownCode(
Error
.LOGSTORE_ERROR_DISK_FULL));
1129
case
Error
.ERROR_DUP_NAME:
1130
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.InvalidOperation(SR.LogStore_DuplicateExtent));
1133
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ExceptionForUnknownCode(errorCode));
1149
if (errorCode ==
Error
.ERROR_IO_PENDING)
1157
case
Error
.ERROR_ACCESS_DENIED:
1164
Error
.InvalidOperation(SR.LogStore_CannotRemoveExtent));
1166
case
Error
.ERROR_NOT_FOUND:
1167
case
Error
.ERROR_INVALID_HANDLE:
1168
case
Error
.ERROR_CANT_RESOLVE_FILENAME:
1169
case
Error
.ERROR_INVALID_PARAMETER:
1170
case
Error
.ERROR_LOG_CANT_DELETE:
1171
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ExceptionForKnownCode(errorCode));
1174
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ExceptionForUnknownCode(errorCode));
1195
if (errorCode ==
Error
.ERROR_IO_PENDING)
1203
case
Error
.ERROR_INVALID_HANDLE:
1204
case
Error
.ERROR_OUTOFMEMORY:
1205
case
Error
.ERROR_ACCESS_DENIED:
1206
case
Error
.ERROR_INVALID_PARAMETER:
1207
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ExceptionForKnownCode(errorCode));
1210
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ExceptionForUnknownCode(errorCode));
1238
if (errorCode ==
Error
.ERROR_IO_PENDING)
1246
case
Error
.ERROR_INVALID_HANDLE:
1247
case
Error
.ERROR_ACCESS_DENIED:
1248
case
Error
.ERROR_INVALID_PARAMETER:
1249
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ExceptionForKnownCode(errorCode));
1252
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ExceptionForUnknownCode(errorCode));
1263
if (errorCode ==
Error
.ERROR_IO_PENDING)
1271
case
Error
.ERROR_LOG_START_OF_LOG:
1272
case
Error
.ERROR_LOG_BLOCK_INVALID:
1273
case
Error
.ERROR_LOG_SECTOR_PARITY_INVALID:
1274
case
Error
.ERROR_HANDLE_EOF:
1275
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ArgumentInvalid(SR.Argument_InvalidSequenceNumber));
1277
case
Error
.ERROR_INVALID_HANDLE:
1278
case
Error
.ERROR_ACCESS_DENIED:
1279
case
Error
.ERROR_INVALID_PARAMETER:
1280
case
Error
.ERROR_LOG_INVALID_RANGE:
1281
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ExceptionForKnownCode(errorCode));
1284
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ExceptionForUnknownCode(errorCode));
1295
if (errorCode ==
Error
.ERROR_IO_PENDING)
1303
case
Error
.ERROR_LOG_START_OF_LOG:
1304
case
Error
.ERROR_LOG_BLOCK_INVALID:
1305
case
Error
.ERROR_LOG_SECTOR_PARITY_INVALID:
1306
case
Error
.ERROR_HANDLE_EOF:
1307
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ArgumentInvalid(SR.Argument_InvalidSequenceNumber));
1309
case
Error
.ERROR_LOG_METADATA_CORRUPT:
1310
case
Error
.ERROR_INVALID_HANDLE:
1311
case
Error
.ERROR_ACCESS_DENIED:
1312
case
Error
.ERROR_INVALID_PARAMETER:
1313
case
Error
.ERROR_LOG_INVALID_RANGE:
1314
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ExceptionForKnownCode(errorCode));
1317
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ExceptionForUnknownCode(errorCode));
1354
case
Error
.ERROR_BUFFER_OVERFLOW:
1357
case
Error
.ERROR_ACCESS_DENIED:
1358
case
Error
.ERROR_OUTOFMEMORY:
1359
case
Error
.ERROR_NOT_SUPPORTED:
1360
case
Error
.ERROR_INVALID_PARAMETER:
1361
case
Error
.ERROR_INVALID_OPERATION:
1362
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ExceptionForKnownCode(errorCode));
1365
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ExceptionForUnknownCode(errorCode));
1388
case
Error
.ERROR_LOG_READ_CONTEXT_INVALID:
1389
case
Error
.ERROR_INVALID_PARAMETER:
1390
case
Error
.ERROR_INVALID_STATE:
1391
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ExceptionForKnownCode(errorCode));
1394
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ExceptionForUnknownCode(errorCode));
1412
case
Error
.ERROR_NO_MORE_ITEMS:
1415
case
Error
.ERROR_LOG_READ_CONTEXT_INVALID:
1416
case
Error
.ERROR_INVALID_PARAMETER:
1417
case
Error
.ERROR_INVALID_STATE:
1418
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ExceptionForKnownCode(errorCode));
1421
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ExceptionForUnknownCode(errorCode));
1444
case
Error
.ERROR_MORE_DATA:
1445
case
Error
.ERROR_INVALID_HANDLE:
1446
case
Error
.ERROR_ACCESS_DENIED:
1447
case
Error
.ERROR_INVALID_PARAMETER:
1448
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ExceptionForKnownCode(errorCode));
1451
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ExceptionForUnknownCode(errorCode));
1464
case
Error
.ERROR_INVALID_HANDLE:
1465
case
Error
.ERROR_ACCESS_DENIED:
1466
case
Error
.ERROR_INVALID_PARAMETER:
1467
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ExceptionForKnownCode(errorCode));
1470
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ExceptionForUnknownCode(errorCode));
1710
if (errorCode ==
Error
.ERROR_IO_PENDING)
1718
case
Error
.ERROR_LOG_FULL:
1719
case
Error
.ERROR_LOG_FULL_HANDLER_IN_PROGRESS:
1720
return DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ExceptionForKnownCode(errorCode));
1722
return DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ExceptionForUnknownCode(errorCode));
1736
case
Error
.ERROR_IO_PENDING:
1740
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ExceptionForUnknownCode(errorCode));
1757
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ExceptionForUnknownCode(errorCode));
1772
case
Error
.ERROR_NO_SYSTEM_RESOURCES:
1773
case
Error
.ERROR_LOG_FULL:
1774
case
Error
.ERROR_INVALID_HANDLE:
1775
case
Error
.ERROR_ACCESS_DENIED:
1776
case
Error
.ERROR_IO_DEVICE:
1777
case
Error
.ERROR_INVALID_PARAMETER:
1778
case
Error
.ERROR_LOG_TAIL_INVALID:
1779
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ExceptionForKnownCode(errorCode));
1782
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ExceptionForUnknownCode(errorCode));
1795
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ExceptionForUnknownCode(errorCode));
1807
case
Error
.ERROR_PATH_NOT_FOUND:
1809
case
Error
.ERROR_NOT_SUPPORTED:
1810
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.NotSupported(SR.NotSupported_Policy));
1811
case
Error
.ERROR_ACCESS_DENIED:
1812
case
Error
.ERROR_INVALID_HANDLE:
1813
case
Error
.ERROR_OUTOFMEMORY:
1814
case
Error
.ERROR_NO_SYSTEM_RESOURCES:
1815
case
Error
.ERROR_LOG_POLICY_INVALID:
1816
case
Error
.ERROR_LOG_POLICY_CONFLICT:
1817
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ExceptionForKnownCode(errorCode));
1820
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ExceptionForUnknownCode(errorCode));
1828
case
Error
.ERROR_LOG_POLICY_NOT_INSTALLED:
1837
case
Error
.ERROR_NOT_SUPPORTED:
1838
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.NotSupported(SR.NotSupported_Policy));
1839
case
Error
.ERROR_ACCESS_DENIED:
1840
case
Error
.ERROR_INVALID_HANDLE:
1841
case
Error
.ERROR_OUTOFMEMORY:
1842
case
Error
.ERROR_NO_SYSTEM_RESOURCES:
1843
case
Error
.ERROR_LOG_POLICY_INVALID:
1844
case
Error
.ERROR_LOG_POLICY_CONFLICT:
1845
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ExceptionForKnownCode(errorCode));
1848
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
Error
.ExceptionForUnknownCode(errorCode));