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
- PrimaryKeyTypeConverter.cs
- MultiViewDesigner.cs
- MailAddress.cs
- FileSystemInfo.cs
- BuildTopDownAttribute.cs
- CompositeCollection.cs
- StackSpiller.cs
- SystemIcons.cs
- DependentTransaction.cs
- SystemSounds.cs
- RightsManagementPermission.cs
- RawStylusInput.cs
- prompt.cs
- ImageAutomationPeer.cs
- Processor.cs
- HtmlEncodedRawTextWriter.cs
- BitmapEffectCollection.cs
- ToolbarAUtomationPeer.cs
- ReferenceConverter.cs
- MetadataItem.cs
- AttributeExtensions.cs
- NonSerializedAttribute.cs
- LocationSectionRecord.cs
- ChildDocumentBlock.cs
- ChannelHandler.cs
- WebAdminConfigurationHelper.cs
- TableColumn.cs
- AuthenticationModuleElement.cs
- TreeWalker.cs
- NullableDecimalSumAggregationOperator.cs
- UrlMapping.cs
- ToolStripSystemRenderer.cs
- ColumnPropertiesGroup.cs
- WorkflowMarkupSerializationProvider.cs
- HiddenFieldPageStatePersister.cs
- SpellerStatusTable.cs
- InfoCardTraceRecord.cs
- InlinedAggregationOperator.cs
- JpegBitmapEncoder.cs
- TextElementEditingBehaviorAttribute.cs
- ModelItemCollection.cs
- EditorResources.cs
- XmlAttributes.cs
- DictionarySectionHandler.cs
- KeyGestureConverter.cs
- WindowsFormsDesignerOptionService.cs
- SqlClientWrapperSmiStream.cs
- WindowsStartMenu.cs
- KeySpline.cs
- behaviorssection.cs
- SQLResource.cs
- VersionedStreamOwner.cs
- BamlStream.cs
- CharacterBufferReference.cs
- ErrorHandler.cs
- AssemblyBuilder.cs
- WebPartCollection.cs
- DragCompletedEventArgs.cs
- XsltLibrary.cs
- ArglessEventHandlerProxy.cs
- ChannelBinding.cs
- MouseWheelEventArgs.cs
- StringStorage.cs
- CustomUserNameSecurityTokenAuthenticator.cs
- GenericRootAutomationPeer.cs
- SafeArrayRankMismatchException.cs
- Error.cs
- SqlException.cs
- StackOverflowException.cs
- CodeRegionDirective.cs
- EastAsianLunisolarCalendar.cs
- AuthenticationService.cs
- ToolStripDropDown.cs
- AttributeProviderAttribute.cs
- NullReferenceException.cs
- EntityDataSourceView.cs
- ParserContext.cs
- PolyQuadraticBezierSegmentFigureLogic.cs
- propertytag.cs
- ToolStripSplitStackLayout.cs
- ListParaClient.cs
- ManifestResourceInfo.cs
- TrustManagerMoreInformation.cs
- AnnotationAdorner.cs
- CorePropertiesFilter.cs
- Schema.cs
- PackageProperties.cs
- WebPartTransformer.cs
- GenericTypeParameterBuilder.cs
- ConcurrentStack.cs
- StoreUtilities.cs
- DecoderFallback.cs
- ContentElementAutomationPeer.cs
- precedingsibling.cs
- Helpers.cs
- RuntimeEnvironment.cs
- ConfigurationSectionCollection.cs
- CodeMemberProperty.cs
- CodeCommentStatement.cs
- OleDbInfoMessageEvent.cs