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
- prompt.cs
- ContextStaticAttribute.cs
- DbFunctionCommandTree.cs
- ConditionBrowserDialog.cs
- Camera.cs
- DataConnectionHelper.cs
- Contracts.cs
- BindableAttribute.cs
- TableCellAutomationPeer.cs
- FileLevelControlBuilderAttribute.cs
- ContractUtils.cs
- CryptoHelper.cs
- DocumentPropertiesDialog.cs
- ExpandableObjectConverter.cs
- WebConfigurationHost.cs
- InternalDuplexBindingElement.cs
- smtppermission.cs
- BamlReader.cs
- XsltQilFactory.cs
- FormViewDeleteEventArgs.cs
- TextServicesPropertyRanges.cs
- DataGridItemCollection.cs
- IntegerValidatorAttribute.cs
- ObjectStorage.cs
- TableParaClient.cs
- TextTreeDeleteContentUndoUnit.cs
- HitTestWithPointDrawingContextWalker.cs
- PeerApplicationLaunchInfo.cs
- CacheOutputQuery.cs
- StorageComplexPropertyMapping.cs
- DelegateSerializationHolder.cs
- DbMetaDataFactory.cs
- WebAdminConfigurationHelper.cs
- EdmProperty.cs
- AnnotationService.cs
- HostSecurityManager.cs
- ButtonBaseDesigner.cs
- WebPartConnectionCollection.cs
- ResourceReferenceKeyNotFoundException.cs
- StringOutput.cs
- PolyBezierSegment.cs
- SafeNativeMethods.cs
- AsymmetricKeyExchangeFormatter.cs
- XPathNodeIterator.cs
- OAVariantLib.cs
- DataGridSortCommandEventArgs.cs
- MethodAccessException.cs
- XmlBinaryReader.cs
- XmlElementCollection.cs
- TextTreeInsertUndoUnit.cs
- WebConfigManager.cs
- SqlProcedureAttribute.cs
- Rotation3D.cs
- FakeModelPropertyImpl.cs
- KeyEvent.cs
- CompilationRelaxations.cs
- UMPAttributes.cs
- ShapeTypeface.cs
- WindowsStatic.cs
- UrlAuthFailedErrorFormatter.cs
- NullRuntimeConfig.cs
- DaylightTime.cs
- RegexCode.cs
- Domain.cs
- NumberFunctions.cs
- Helper.cs
- RC2.cs
- Merger.cs
- Variable.cs
- SapiAttributeParser.cs
- ResXResourceSet.cs
- _FtpControlStream.cs
- WebPartMovingEventArgs.cs
- TimeZone.cs
- EncodingNLS.cs
- MenuAutomationPeer.cs
- HtmlPhoneCallAdapter.cs
- ListBindingHelper.cs
- DefaultValueTypeConverter.cs
- CompensableActivity.cs
- Util.cs
- SymbolUsageManager.cs
- KeyValueConfigurationElement.cs
- Hashtable.cs
- WebReferencesBuildProvider.cs
- WebBrowserContainer.cs
- FlowLayoutSettings.cs
- HttpCachePolicyElement.cs
- LineGeometry.cs
- StaticDataManager.cs
- XmlElementList.cs
- CodeIterationStatement.cs
- SchemaEntity.cs
- XmlSchemaInferenceException.cs
- DataGridViewColumnDividerDoubleClickEventArgs.cs
- ToolStripItem.cs
- FormsIdentity.cs
- ContainerParagraph.cs
- DecimalAnimationBase.cs
- HtmlAnchor.cs