Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / WCF / Log / System / IO / Log / LogWriteRestartAreaAsyncResult.cs / 1305376 / LogWriteRestartAreaAsyncResult.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 LogWriteRestartAreaAsyncResult : OverlappedAsyncResult { LogWriteRestartAreaState state; internal LogWriteRestartAreaAsyncResult(LogRecordSequence recordSequence, AsyncCallback callback, object state) : base(callback, state) { this.state = new LogWriteRestartAreaState(); this.state.RecordSequence = recordSequence; this.state.AsyncResult = this; } //=========================================================== // Parameters //=========================================================== internal IList> Data { /* get { return this.state.Data; } */ set { this.state.Data = value; } } internal ulong NewBaseLsn { /* get { return this.state.NewBaseLsn; } */ set { this.state.NewBaseLsn = 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; } } //============================================================ // 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. //----------------------------------------------------------------------------- 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 LogWriteRestartAreaAsyncResult : OverlappedAsyncResult { LogWriteRestartAreaState state; internal LogWriteRestartAreaAsyncResult(LogRecordSequence recordSequence, AsyncCallback callback, object state) : base(callback, state) { this.state = new LogWriteRestartAreaState(); this.state.RecordSequence = recordSequence; this.state.AsyncResult = this; } //=========================================================== // Parameters //=========================================================== internal IList > Data { /* get { return this.state.Data; } */ set { this.state.Data = value; } } internal ulong NewBaseLsn { /* get { return this.state.NewBaseLsn; } */ set { this.state.NewBaseLsn = 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; } } //============================================================ // 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
- ListenerSessionConnectionReader.cs
- CapabilitiesUse.cs
- ClientConvert.cs
- ContentPresenter.cs
- XPathBinder.cs
- XmlSchemaInclude.cs
- WebServiceErrorEvent.cs
- ValidationEventArgs.cs
- Cursors.cs
- AssemblyCollection.cs
- BlockUIContainer.cs
- ClientRuntimeConfig.cs
- ProgressChangedEventArgs.cs
- JsonObjectDataContract.cs
- AccessDataSourceView.cs
- UnaryOperationBinder.cs
- cache.cs
- PresentationTraceSources.cs
- DbProviderFactory.cs
- ConnectionPoolManager.cs
- Array.cs
- EnumBuilder.cs
- TemplateInstanceAttribute.cs
- DataGridViewDataConnection.cs
- AstTree.cs
- BamlRecordHelper.cs
- StylusDownEventArgs.cs
- SqlTypeSystemProvider.cs
- ExtensionSurface.cs
- XPathNodeList.cs
- EditorPartChrome.cs
- TabControlDesigner.cs
- GregorianCalendar.cs
- URL.cs
- XmlSchemaInfo.cs
- ConnectionManagementElementCollection.cs
- SqlDataSourceCommandEventArgs.cs
- WebPartConnectionsCloseVerb.cs
- HtmlInputPassword.cs
- Timeline.cs
- RelationshipConverter.cs
- MexHttpBindingCollectionElement.cs
- IDReferencePropertyAttribute.cs
- ProjectionPathBuilder.cs
- SvcMapFileLoader.cs
- BindingSource.cs
- DataComponentGenerator.cs
- DataSpaceManager.cs
- WebEventCodes.cs
- _LocalDataStore.cs
- TextElementEnumerator.cs
- NativeMethods.cs
- ConfigurationLocation.cs
- ParenExpr.cs
- ColorAnimationUsingKeyFrames.cs
- MappedMetaModel.cs
- DeclaredTypeElementCollection.cs
- AsyncResult.cs
- LinqMaximalSubtreeNominator.cs
- ToolStripButton.cs
- ConfigurationPropertyCollection.cs
- ModelServiceImpl.cs
- PermissionSetTriple.cs
- CapabilitiesState.cs
- CacheSection.cs
- DocumentCollection.cs
- SuppressMessageAttribute.cs
- AspNetCacheProfileAttribute.cs
- EventWaitHandle.cs
- Version.cs
- VersionValidator.cs
- ComponentRenameEvent.cs
- CharConverter.cs
- versioninfo.cs
- EmbeddedObject.cs
- ValueChangedEventManager.cs
- WmfPlaceableFileHeader.cs
- RegexRunner.cs
- XsltLoader.cs
- PropertyGroupDescription.cs
- URLEditor.cs
- XpsS0ValidatingLoader.cs
- DesignerUtility.cs
- ParameterRetriever.cs
- XmlDataProvider.cs
- HtmlToClrEventProxy.cs
- Win32SafeHandles.cs
- ObjectDataSourceDesigner.cs
- AttributeTableBuilder.cs
- ReadOnlyDataSource.cs
- TypedDataSetSchemaImporterExtensionFx35.cs
- AssemblyResourceLoader.cs
- SessionEndingEventArgs.cs
- CompoundFileStreamReference.cs
- WebPartAddingEventArgs.cs
- EventlogProvider.cs
- StringValidatorAttribute.cs
- ObfuscateAssemblyAttribute.cs
- SchemaComplexType.cs
- DataGridRowDetailsEventArgs.cs