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
- Oci.cs
- SessionStateSection.cs
- PresentationAppDomainManager.cs
- _HeaderInfoTable.cs
- InputScopeAttribute.cs
- SystemGatewayIPAddressInformation.cs
- VisualBasicReference.cs
- StructuredTypeEmitter.cs
- CodeCastExpression.cs
- SystemIPGlobalStatistics.cs
- StringAnimationUsingKeyFrames.cs
- HttpCacheParams.cs
- DocumentReferenceCollection.cs
- CacheEntry.cs
- XmlSchemaNotation.cs
- ListControl.cs
- Cell.cs
- PrintPreviewDialog.cs
- XmlSchemaInclude.cs
- ThemeConfigurationDialog.cs
- SafeMarshalContext.cs
- BinaryNode.cs
- LinkLabelLinkClickedEvent.cs
- contentDescriptor.cs
- Block.cs
- UnmanagedBitmapWrapper.cs
- RadioButtonList.cs
- InputProviderSite.cs
- NullRuntimeConfig.cs
- StopStoryboard.cs
- SystemNetworkInterface.cs
- DispatcherSynchronizationContext.cs
- ErrorReporting.cs
- VirtualizingPanel.cs
- MenuAdapter.cs
- CharacterMetrics.cs
- RowUpdatingEventArgs.cs
- XmlDataLoader.cs
- TextWriter.cs
- PropertyValueUIItem.cs
- DataRelationCollection.cs
- SiteMapHierarchicalDataSourceView.cs
- GridViewHeaderRowPresenterAutomationPeer.cs
- MarkupCompilePass2.cs
- DecoderExceptionFallback.cs
- Run.cs
- DefaultValueConverter.cs
- EventBookmark.cs
- ToolStripArrowRenderEventArgs.cs
- ProcessModelInfo.cs
- ServicePoint.cs
- PropertyIDSet.cs
- InfoCardProofToken.cs
- BitmapEffectInput.cs
- QilTypeChecker.cs
- PageThemeBuildProvider.cs
- Event.cs
- RedirectionProxy.cs
- SourceSwitch.cs
- RtType.cs
- DrawingCollection.cs
- TextEditorSpelling.cs
- SliderAutomationPeer.cs
- Drawing.cs
- RemoteWebConfigurationHost.cs
- EventDescriptor.cs
- _MultipleConnectAsync.cs
- ColumnPropertiesGroup.cs
- XmlSecureResolver.cs
- SqlXml.cs
- FixedSOMFixedBlock.cs
- LocatorGroup.cs
- RightsManagementInformation.cs
- VectorAnimationBase.cs
- ShapingEngine.cs
- CharAnimationBase.cs
- Internal.cs
- ActivityExecutorDelegateInfo.cs
- DropDownButton.cs
- DesignTimeParseData.cs
- ActivationServices.cs
- SpellerInterop.cs
- KeyValueSerializer.cs
- FontResourceCache.cs
- TransformerInfoCollection.cs
- TreeChangeInfo.cs
- VerbConverter.cs
- TransformPatternIdentifiers.cs
- ReadOnlyCollectionBase.cs
- XmlnsCompatibleWithAttribute.cs
- FeatureAttribute.cs
- FullTextBreakpoint.cs
- XmlCharType.cs
- WebPartChrome.cs
- RegexBoyerMoore.cs
- ArgumentsParser.cs
- WebServiceErrorEvent.cs
- OracleConnectionStringBuilder.cs
- SignedXmlDebugLog.cs
- SoapAttributeAttribute.cs