Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / Log / System / IO / Log / LogAppendAsyncResult.cs / 1 / 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. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- GraphicsState.cs
- WebBrowsableAttribute.cs
- DiscoveryReference.cs
- Size.cs
- X509Certificate2Collection.cs
- XPathDocumentIterator.cs
- GridViewRowEventArgs.cs
- TextServicesDisplayAttributePropertyRanges.cs
- PriorityChain.cs
- ActivityFunc.cs
- ImpersonationContext.cs
- XmlWhitespace.cs
- QueryExpr.cs
- SecurityUniqueId.cs
- CodeComment.cs
- XmlUtil.cs
- SqlProfileProvider.cs
- MediaCommands.cs
- ObservableDictionary.cs
- StreamGeometryContext.cs
- SerializationObjectManager.cs
- ReadOnlyDictionary.cs
- EntityContainerAssociationSetEnd.cs
- WebScriptEnablingElement.cs
- ToolStripOverflowButton.cs
- PopupEventArgs.cs
- HtmlInputRadioButton.cs
- Code.cs
- DbUpdateCommandTree.cs
- PropertyPathWorker.cs
- AttributeProviderAttribute.cs
- ColorConvertedBitmapExtension.cs
- ClientSession.cs
- PasswordRecovery.cs
- ListViewPagedDataSource.cs
- OptimizerPatterns.cs
- RoleManagerEventArgs.cs
- SQLMoneyStorage.cs
- CounterSampleCalculator.cs
- VsPropertyGrid.cs
- TaskFormBase.cs
- ListBase.cs
- CodeParameterDeclarationExpressionCollection.cs
- SemaphoreFullException.cs
- Timeline.cs
- TemplatePagerField.cs
- ClientConfigurationHost.cs
- ResolvedKeyFrameEntry.cs
- DataGridViewAutoSizeModeEventArgs.cs
- SQLDecimalStorage.cs
- MultitargetUtil.cs
- InheritanceContextHelper.cs
- WinEventTracker.cs
- XPathBinder.cs
- FrameworkTextComposition.cs
- DBNull.cs
- TextBounds.cs
- HttpPostProtocolImporter.cs
- BinHexEncoder.cs
- GradientSpreadMethodValidation.cs
- CodeDelegateCreateExpression.cs
- DateTimeConverter.cs
- ProviderConnectionPointCollection.cs
- HttpModule.cs
- ToolStripDropDown.cs
- JournalEntry.cs
- MissingMethodException.cs
- ReadOnlyCollectionBase.cs
- HttpWebRequest.cs
- ExpressionBuilder.cs
- ValueExpressions.cs
- InfoCardBaseException.cs
- ViewPort3D.cs
- ErrorWrapper.cs
- OdbcConnectionOpen.cs
- AddInPipelineAttributes.cs
- BinaryUtilClasses.cs
- AcceleratedTokenProviderState.cs
- ClientSession.cs
- DoubleLinkListEnumerator.cs
- WmpBitmapDecoder.cs
- RadialGradientBrush.cs
- LineBreak.cs
- EntityWrapper.cs
- SizeLimitedCache.cs
- EnvironmentPermission.cs
- DownloadProgressEventArgs.cs
- WebBrowserNavigatedEventHandler.cs
- UserControlBuildProvider.cs
- MeasureData.cs
- ByteStreamGeometryContext.cs
- Image.cs
- SelectedDatesCollection.cs
- _NetworkingPerfCounters.cs
- AutoResizedEvent.cs
- InvalidComObjectException.cs
- ProfileSettingsCollection.cs
- unsafeIndexingFilterStream.cs
- CodeDirectoryCompiler.cs
- BuildResultCache.cs