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
- URLMembershipCondition.cs
- KeyToListMap.cs
- TypeRestriction.cs
- OdbcFactory.cs
- AssemblyBuilder.cs
- SHA512Cng.cs
- WebPartDeleteVerb.cs
- odbcmetadatacollectionnames.cs
- XslTransform.cs
- PartialTrustVisibleAssemblyCollection.cs
- IdnElement.cs
- ServiceOperationParameter.cs
- HttpDictionary.cs
- TraceUtils.cs
- MessageDecoder.cs
- ExpressionBinding.cs
- NamespaceQuery.cs
- CodeParameterDeclarationExpression.cs
- DataGridViewAccessibleObject.cs
- PolicyStatement.cs
- UnionCodeGroup.cs
- SeverityFilter.cs
- ClientTarget.cs
- XPathDocumentBuilder.cs
- EditorBrowsableAttribute.cs
- ManagementQuery.cs
- SqlServices.cs
- MethodToken.cs
- RegexCode.cs
- TextDecorationUnitValidation.cs
- XmlSchemaSimpleContentExtension.cs
- BufferedGraphics.cs
- TextEffect.cs
- RestHandler.cs
- FullTextState.cs
- GridViewColumnCollectionChangedEventArgs.cs
- _TimerThread.cs
- FlatButtonAppearance.cs
- CompilerCollection.cs
- BinaryCommonClasses.cs
- SemaphoreSlim.cs
- SynchronizingStream.cs
- Transform.cs
- Encoding.cs
- TransformPattern.cs
- PasswordPropertyTextAttribute.cs
- shaperfactoryquerycacheentry.cs
- DynamicFilter.cs
- RichTextBox.cs
- SystemMulticastIPAddressInformation.cs
- DataRowCollection.cs
- RightsManagementLicense.cs
- WeakReference.cs
- SQLBinary.cs
- HtmlControl.cs
- HtmlInputText.cs
- PolyQuadraticBezierSegment.cs
- InputReportEventArgs.cs
- EntityContainer.cs
- SizeChangedEventArgs.cs
- WebSysDescriptionAttribute.cs
- IisTraceListener.cs
- QilDataSource.cs
- TypeExtension.cs
- ChtmlTextWriter.cs
- XpsS0ValidatingLoader.cs
- XmlSerializationWriter.cs
- ScalarType.cs
- TrackingCondition.cs
- ContentPlaceHolderDesigner.cs
- DataControlField.cs
- AspNetCompatibilityRequirementsAttribute.cs
- ActivityScheduledRecord.cs
- QuaternionAnimationBase.cs
- PartitionResolver.cs
- Trigger.cs
- FlowDocumentReaderAutomationPeer.cs
- LogRecordSequence.cs
- TableItemProviderWrapper.cs
- TPLETWProvider.cs
- GrammarBuilderBase.cs
- XmlMtomWriter.cs
- SystemWebExtensionsSectionGroup.cs
- WebHttpBinding.cs
- PathStreamGeometryContext.cs
- BufferModesCollection.cs
- DataContractJsonSerializerOperationFormatter.cs
- ClientWindowsAuthenticationMembershipProvider.cs
- PtsContext.cs
- PartitionerQueryOperator.cs
- DefaultTextStoreTextComposition.cs
- path.cs
- SelectionHighlightInfo.cs
- DataBindingExpressionBuilder.cs
- PrivilegeNotHeldException.cs
- DataGridViewRowHeightInfoPushedEventArgs.cs
- ModelUtilities.cs
- MethodMessage.cs
- IImplicitResourceProvider.cs
- SmiRecordBuffer.cs