Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / WCF / Log / System / IO / Log / LogWriteRestartAreaAsyncResult.cs / 1305376 / LogWriteRestartAreaAsyncResult.cs
//------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- namespace System.IO.Log { using System; using System.Collections.Generic; using System.Runtime.InteropServices; using System.Security.Permissions; using System.Threading; using Microsoft.Win32.SafeHandles; sealed class LogWriteRestartAreaAsyncResult : OverlappedAsyncResult { LogWriteRestartAreaState state; internal LogWriteRestartAreaAsyncResult(LogRecordSequence recordSequence, AsyncCallback callback, object state) : base(callback, state) { this.state = new LogWriteRestartAreaState(); this.state.RecordSequence = recordSequence; this.state.AsyncResult = this; } //=========================================================== // Parameters //=========================================================== internal IList> Data { /* get { return this.state.Data; } */ set { this.state.Data = value; } } internal ulong NewBaseLsn { /* get { return this.state.NewBaseLsn; } */ set { this.state.NewBaseLsn = value; } } internal LogReservationCollection ReservationCollection { /* get { return this.state.ReservationCollection; } */ set { this.state.ReservationCollection = value; } } internal long TotalRecordSize { /* get { return this.state.TotalRecordSize; } */ set { this.state.TotalRecordSize = value; } } //============================================================ // Result //=========================================================== internal ulong ResultLsn { get { return this.state.ResultLsn; } } internal void Start() { this.state.Start(); } internal override void IOCompleted(uint errorCode) { this.state.IOComplete(errorCode); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- namespace System.IO.Log { using System; using System.Collections.Generic; using System.Runtime.InteropServices; using System.Security.Permissions; using System.Threading; using Microsoft.Win32.SafeHandles; sealed class LogWriteRestartAreaAsyncResult : OverlappedAsyncResult { LogWriteRestartAreaState state; internal LogWriteRestartAreaAsyncResult(LogRecordSequence recordSequence, AsyncCallback callback, object state) : base(callback, state) { this.state = new LogWriteRestartAreaState(); this.state.RecordSequence = recordSequence; this.state.AsyncResult = this; } //=========================================================== // Parameters //=========================================================== internal IList > Data { /* get { return this.state.Data; } */ set { this.state.Data = value; } } internal ulong NewBaseLsn { /* get { return this.state.NewBaseLsn; } */ set { this.state.NewBaseLsn = value; } } internal LogReservationCollection ReservationCollection { /* get { return this.state.ReservationCollection; } */ set { this.state.ReservationCollection = value; } } internal long TotalRecordSize { /* get { return this.state.TotalRecordSize; } */ set { this.state.TotalRecordSize = value; } } //============================================================ // Result //=========================================================== internal ulong ResultLsn { get { return this.state.ResultLsn; } } internal void Start() { this.state.Start(); } internal override void IOCompleted(uint errorCode) { this.state.IOComplete(errorCode); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- AutomationPattern.cs
- GenericTypeParameterBuilder.cs
- ScrollViewerAutomationPeer.cs
- DataReceivedEventArgs.cs
- InkCanvasAutomationPeer.cs
- KeyNotFoundException.cs
- Function.cs
- storagemappingitemcollection.viewdictionary.cs
- MediaContext.cs
- StretchValidation.cs
- httpstaticobjectscollection.cs
- FacetChecker.cs
- SimpleWebHandlerParser.cs
- KernelTypeValidation.cs
- Stylus.cs
- ChooseAction.cs
- Rectangle.cs
- ModuleElement.cs
- DispatchChannelSink.cs
- SerializationInfoEnumerator.cs
- DesignerTransaction.cs
- BufferModesCollection.cs
- PageThemeCodeDomTreeGenerator.cs
- XmlValidatingReaderImpl.cs
- UriTemplateCompoundPathSegment.cs
- XmlDocumentSerializer.cs
- Helpers.cs
- ProfileService.cs
- PointLight.cs
- TextTrailingWordEllipsis.cs
- ByteStream.cs
- DataGridViewColumnHeaderCell.cs
- Guid.cs
- FixedPage.cs
- DataControlFieldCollection.cs
- TypeDelegator.cs
- ToolBar.cs
- WindowsListViewGroupSubsetLink.cs
- PropertyValueUIItem.cs
- EntityDataSourceColumn.cs
- FormView.cs
- ConcurrentBag.cs
- RenderingEventArgs.cs
- XmlSchemaExporter.cs
- FixedSOMImage.cs
- WebPartConnection.cs
- KeyTime.cs
- NumericUpDownAccelerationCollection.cs
- FormattedTextSymbols.cs
- ConfigurationElement.cs
- WebPartDeleteVerb.cs
- ListSortDescription.cs
- HtmlElement.cs
- DataKeyCollection.cs
- DesignerCommandAdapter.cs
- Size.cs
- DesignerActionUIService.cs
- EncoderBestFitFallback.cs
- webclient.cs
- VisualStyleElement.cs
- File.cs
- XamlToRtfWriter.cs
- RelationshipSet.cs
- EditingCoordinator.cs
- NeedSkipTokenVisitor.cs
- JavaScriptSerializer.cs
- PropertyPathConverter.cs
- arc.cs
- FixUp.cs
- EntityParameter.cs
- RegexReplacement.cs
- DnsPermission.cs
- TransportChannelFactory.cs
- PngBitmapEncoder.cs
- XmlCustomFormatter.cs
- ExpandedProjectionNode.cs
- PaintEvent.cs
- UnmanagedBitmapWrapper.cs
- WindowsListViewGroup.cs
- MatrixStack.cs
- XslAst.cs
- BoundsDrawingContextWalker.cs
- MouseGestureValueSerializer.cs
- WebBrowserBase.cs
- IfAction.cs
- DataRowComparer.cs
- List.cs
- TextBoxView.cs
- PointAnimation.cs
- EditingCommands.cs
- Reference.cs
- XMLUtil.cs
- DefaultTypeArgumentAttribute.cs
- DataGridViewSelectedRowCollection.cs
- input.cs
- ExecutionContext.cs
- ReplyChannelBinder.cs
- DetailsViewCommandEventArgs.cs
- GAC.cs
- MethodSignatureGenerator.cs