This documentation is archived and is not being maintained.
LogStore::SetArchiveTail Method
Visual Studio 2010
Sets the sequence number of the archive tail.
Assembly: System.IO.Log (in System.IO.Log.dll)
Parameters
- archiveTail
- Type: System.IO.Log::SequenceNumber
The sequence number of the archive tail.
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | archiveTail is not between the base and last sequence numbers of this sequence. |
| ArgumentException | archiveTail is not valid for this sequence. |
| InvalidOperationException | An invalid operation has been executed. |
| IOException | An I/O error occurs when creating the archive snapshot. |
| NotSupportedException | The log store is not archivable. |
| ObjectDisposedException | The method was called after the sequence has been disposed of. |
| OutOfMemoryException | There is not enough memory to continue the execution of a program. |
| UnauthorizedAccessException | Access for the specified log store is denied by the operating system. |
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: