Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / WCF / Log / System / IO / Log / LogAppendAsyncResult.cs / 1305376 / LogAppendAsyncResult.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 LogAppendAsyncResult : OverlappedAsyncResult { LogReserveAndAppendState state; internal LogAppendAsyncResult(LogRecordSequence recordSequence, AsyncCallback callback, object state) : base(callback, state) { this.state = new LogReserveAndAppendState(); this.state.RecordSequence = recordSequence; this.state.AsyncResult = this; } //=========================================================== // Parameters //=========================================================== internal IList> Data { /* get { return this.state.Data; } */ set { this.state.Data = value; } } internal ulong PreviousLsn { /* get { return this.state.PreviousLsn; } */ set { this.state.PreviousLsn = value; } } internal long[] Reservations { get { return this.state.Reservations; } set { this.state.Reservations = 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; } } internal ulong UserLsn { /* get { return this.state.UserLsn; } */ set { this.state.UserLsn = value; } } internal RecordAppendOptions RecordAppendOptions { /* get { return this.state.RecordAppendOptions; } */ set { this.state.RecordAppendOptions = 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
- DayRenderEvent.cs
- Point3DCollectionValueSerializer.cs
- Odbc32.cs
- TemplateControl.cs
- NativeMethods.cs
- TemplateControlCodeDomTreeGenerator.cs
- UrlPath.cs
- FormViewRow.cs
- ElementMarkupObject.cs
- LongMinMaxAggregationOperator.cs
- InProcStateClientManager.cs
- EmptyWithCancelationCheckWorkItem.cs
- MemoryStream.cs
- SqlFileStream.cs
- CachedPathData.cs
- HtmlInputPassword.cs
- FrameDimension.cs
- DelegatingTypeDescriptionProvider.cs
- HWStack.cs
- PersonalizationStateInfo.cs
- base64Transforms.cs
- PrintingPermission.cs
- TextTrailingCharacterEllipsis.cs
- Normalization.cs
- WebPartManagerInternals.cs
- DPTypeDescriptorContext.cs
- DragDrop.cs
- XmlnsCompatibleWithAttribute.cs
- Underline.cs
- SignatureConfirmationElement.cs
- Enum.cs
- SafeThemeHandle.cs
- BamlReader.cs
- DbConnectionInternal.cs
- TableProvider.cs
- DispatcherHookEventArgs.cs
- EntityDataSourceStatementEditorForm.cs
- figurelengthconverter.cs
- AttributeAction.cs
- ClipboardProcessor.cs
- HttpModuleActionCollection.cs
- CommaDelimitedStringAttributeCollectionConverter.cs
- CachedFontFamily.cs
- DataGridTemplateColumn.cs
- ResourcesGenerator.cs
- Queue.cs
- Annotation.cs
- SizeAnimationClockResource.cs
- SolidBrush.cs
- MessagePropertyFilter.cs
- SqlExpander.cs
- PathFigure.cs
- PenContexts.cs
- DoubleStorage.cs
- CapabilitiesAssignment.cs
- __Error.cs
- XmlCustomFormatter.cs
- InstalledVoice.cs
- _LoggingObject.cs
- PostBackOptions.cs
- StorageMappingItemCollection.cs
- TextInfo.cs
- CultureTable.cs
- FontStretch.cs
- PeerHopCountAttribute.cs
- MouseGesture.cs
- TextServicesManager.cs
- SqlSelectClauseBuilder.cs
- CollectionConverter.cs
- DiscoveryOperationContextExtension.cs
- SqlExpander.cs
- ReceiveContextCollection.cs
- CharStorage.cs
- UniformGrid.cs
- DataStreamFromComStream.cs
- EventLogEntryCollection.cs
- RegexCapture.cs
- XmlSerializer.cs
- NameValueFileSectionHandler.cs
- MailAddress.cs
- Cell.cs
- ImageButton.cs
- DataPagerFieldCommandEventArgs.cs
- BamlVersionHeader.cs
- SpellerInterop.cs
- IIS7UserPrincipal.cs
- StringAttributeCollection.cs
- SqlStatistics.cs
- HtmlForm.cs
- CommonGetThemePartSize.cs
- MimeMultiPart.cs
- XPathNodeInfoAtom.cs
- Rectangle.cs
- COM2FontConverter.cs
- BookmarkWorkItem.cs
- PlanCompiler.cs
- DbSourceCommand.cs
- ValueChangedEventManager.cs
- PackagePart.cs
- XXXOnTypeBuilderInstantiation.cs