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
- TemplateEditingService.cs
- TextLine.cs
- DataTableExtensions.cs
- State.cs
- X509CertificateCollection.cs
- DrawListViewColumnHeaderEventArgs.cs
- Publisher.cs
- FixUp.cs
- SBCSCodePageEncoding.cs
- DriveNotFoundException.cs
- VirtualDirectoryMappingCollection.cs
- Subset.cs
- JsonServiceDocumentSerializer.cs
- ConditionalAttribute.cs
- ManifestResourceInfo.cs
- BindingFormattingDialog.cs
- IncomingWebResponseContext.cs
- TextTrailingCharacterEllipsis.cs
- IItemProperties.cs
- DataPagerFieldCollection.cs
- WebEvents.cs
- ComponentEditorForm.cs
- CompositeCollection.cs
- validationstate.cs
- SpeakCompletedEventArgs.cs
- BoundColumn.cs
- QueryRewriter.cs
- FormsAuthenticationConfiguration.cs
- SafeProcessHandle.cs
- RedirectionProxy.cs
- InstancePersistence.cs
- SourceFilter.cs
- SerTrace.cs
- XmlEventCache.cs
- ObjectConverter.cs
- EFDataModelProvider.cs
- StreamReader.cs
- RegexCapture.cs
- ProtocolsConfigurationEntry.cs
- DataControlFieldCollection.cs
- ToolStripOverflow.cs
- TextEndOfLine.cs
- GroupQuery.cs
- altserialization.cs
- User.cs
- SafeSecurityHandles.cs
- EastAsianLunisolarCalendar.cs
- UseLicense.cs
- ObjectStateFormatter.cs
- Pkcs7Recipient.cs
- AppDomainProtocolHandler.cs
- TemplatePropertyEntry.cs
- CharacterMetricsDictionary.cs
- XmlSchemaDatatype.cs
- FixUp.cs
- DelayedRegex.cs
- ConnectionStringSettingsCollection.cs
- PermissionToken.cs
- Sql8ConformanceChecker.cs
- BitmapEffectInput.cs
- EventsTab.cs
- BulletedListDesigner.cs
- TraceHwndHost.cs
- RootBrowserWindowProxy.cs
- MouseEventArgs.cs
- DragCompletedEventArgs.cs
- Models.cs
- EdgeModeValidation.cs
- DetailsViewInsertEventArgs.cs
- RC2.cs
- HitTestDrawingContextWalker.cs
- GeometryDrawing.cs
- TextElement.cs
- UIElement.cs
- SqlExpressionNullability.cs
- Int64Animation.cs
- PenContexts.cs
- ComplexObject.cs
- SoapMessage.cs
- TextProperties.cs
- FieldToken.cs
- MobileTextWriter.cs
- SpanIndex.cs
- EmptyReadOnlyDictionaryInternal.cs
- ReferenceConverter.cs
- RegisteredDisposeScript.cs
- TemplateEditingFrame.cs
- AppDomainShutdownMonitor.cs
- MulticastNotSupportedException.cs
- Paragraph.cs
- NTAccount.cs
- KeyInstance.cs
- UseManagedPresentationBindingElementImporter.cs
- CallContext.cs
- TextServicesProperty.cs
- thaishape.cs
- Base64WriteStateInfo.cs
- ApplicationGesture.cs
- Imaging.cs
- PropertyTabChangedEvent.cs