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
- ListBoxItemWrapperAutomationPeer.cs
- RecipientInfo.cs
- BrowsableAttribute.cs
- SamlSubjectStatement.cs
- UrlAuthorizationModule.cs
- AuthorizationSection.cs
- EndpointIdentity.cs
- LinkButton.cs
- EventSinkActivityDesigner.cs
- TogglePatternIdentifiers.cs
- ProtectedConfigurationSection.cs
- LinkLabel.cs
- XNodeNavigator.cs
- TransformerInfo.cs
- SplitterPanelDesigner.cs
- QuadraticBezierSegment.cs
- TransformerConfigurationWizardBase.cs
- CurrentChangedEventManager.cs
- ConfigurationPropertyAttribute.cs
- SByte.cs
- DataStreamFromComStream.cs
- Choices.cs
- Annotation.cs
- securitycriticaldata.cs
- X509Certificate.cs
- OperationResponse.cs
- DecoderReplacementFallback.cs
- WSFederationHttpBinding.cs
- SqlAggregateChecker.cs
- NotifyParentPropertyAttribute.cs
- PropertyGeneratedEventArgs.cs
- ProfileModule.cs
- RequestStatusBarUpdateEventArgs.cs
- DirectoryNotFoundException.cs
- SoapAttributeAttribute.cs
- NavigationPropertyEmitter.cs
- BlobPersonalizationState.cs
- ObjectQueryState.cs
- DropTarget.cs
- Int32AnimationUsingKeyFrames.cs
- BitmapSizeOptions.cs
- Speller.cs
- EventLogHandle.cs
- TreeWalkHelper.cs
- DrawingContextWalker.cs
- AsymmetricKeyExchangeDeformatter.cs
- GPPOINT.cs
- StatusBar.cs
- ClientConvert.cs
- DataObjectMethodAttribute.cs
- PartialCachingAttribute.cs
- CodeActivityMetadata.cs
- OdbcError.cs
- Drawing.cs
- ToolStripProgressBar.cs
- ThemeableAttribute.cs
- ComponentCodeDomSerializer.cs
- StandardRuntimeEnumValidatorAttribute.cs
- ToolStripItemEventArgs.cs
- WindowsGraphicsCacheManager.cs
- DateTimeFormatInfo.cs
- DataListItem.cs
- ScriptModule.cs
- WebPartPersonalization.cs
- WrappedIUnknown.cs
- DiscoveryVersionConverter.cs
- OutKeywords.cs
- InternalRelationshipCollection.cs
- OrthographicCamera.cs
- RectAnimationClockResource.cs
- ResourcePart.cs
- TaiwanCalendar.cs
- DescendentsWalkerBase.cs
- MDIWindowDialog.cs
- HideDisabledControlAdapter.cs
- MSAAEventDispatcher.cs
- IndexerNameAttribute.cs
- PipelineModuleStepContainer.cs
- DispatcherOperation.cs
- SoapReflector.cs
- OutOfProcStateClientManager.cs
- ConditionalAttribute.cs
- InvokePattern.cs
- DesignerVerb.cs
- TypeBuilderInstantiation.cs
- PriorityChain.cs
- WebPartDeleteVerb.cs
- VerticalAlignConverter.cs
- SystemKeyConverter.cs
- ConstNode.cs
- DeviceContext2.cs
- Ref.cs
- BuildProvidersCompiler.cs
- DataSourceHelper.cs
- LowerCaseStringConverter.cs
- CollectionViewProxy.cs
- ConfigurationStrings.cs
- ToolStripRenderer.cs
- ZipIOZip64EndOfCentralDirectoryLocatorBlock.cs
- Utils.cs