Code:
/ 4.0 / 4.0 / untmp / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- TreeViewItemAutomationPeer.cs
- ManagementObjectSearcher.cs
- ContentTypeSettingClientMessageFormatter.cs
- TextBoxBase.cs
- XmlSchemaObjectCollection.cs
- WebRequestModulesSection.cs
- WsatAdminException.cs
- EdmValidator.cs
- NetworkInterface.cs
- LayoutInformation.cs
- DigitShape.cs
- WeakHashtable.cs
- TypeConverterMarkupExtension.cs
- TraceContextRecord.cs
- __FastResourceComparer.cs
- ListViewDataItem.cs
- UnsafeCollabNativeMethods.cs
- TraversalRequest.cs
- RequestQueryParser.cs
- PageThemeBuildProvider.cs
- ScrollItemPattern.cs
- ZipIOLocalFileDataDescriptor.cs
- ClipboardData.cs
- OdbcParameter.cs
- XmlDictionaryReader.cs
- SelfIssuedAuthRSAPKCS1SignatureFormatter.cs
- ProviderCommandInfoUtils.cs
- XNodeValidator.cs
- UnsafeNativeMethods.cs
- Vector3D.cs
- PersistChildrenAttribute.cs
- DispatcherExceptionFilterEventArgs.cs
- HistoryEventArgs.cs
- DBNull.cs
- Rules.cs
- Point4DConverter.cs
- PartialCachingControl.cs
- SparseMemoryStream.cs
- Attributes.cs
- DependencyObject.cs
- HttpValueCollection.cs
- MultipleViewPatternIdentifiers.cs
- XhtmlConformanceSection.cs
- TagPrefixCollection.cs
- WebDisplayNameAttribute.cs
- XsdBuildProvider.cs
- InputProviderSite.cs
- OdbcConnection.cs
- AuthenticationConfig.cs
- _IPv4Address.cs
- ImageField.cs
- AutomationPatternInfo.cs
- MessagePropertyDescriptionCollection.cs
- MulticastDelegate.cs
- LockedAssemblyCache.cs
- PresentationAppDomainManager.cs
- ExpressionBuilderCollection.cs
- TypeInformation.cs
- Membership.cs
- FlowLayoutSettings.cs
- BitmapEffectGeneralTransform.cs
- UnmanagedMemoryStreamWrapper.cs
- XmlArrayItemAttribute.cs
- SqlReferenceCollection.cs
- CustomSignedXml.cs
- FormCollection.cs
- CodeAttributeDeclarationCollection.cs
- XmlLanguageConverter.cs
- DataTableExtensions.cs
- Encoder.cs
- NonSerializedAttribute.cs
- DataSvcMapFile.cs
- IgnorePropertiesAttribute.cs
- MyContact.cs
- LabelLiteral.cs
- SqlGenerator.cs
- WmiInstallComponent.cs
- Listbox.cs
- HtmlInputSubmit.cs
- DataBindingsDialog.cs
- HtmlPhoneCallAdapter.cs
- RequestBringIntoViewEventArgs.cs
- RepeatBehavior.cs
- TripleDESCryptoServiceProvider.cs
- ZipIOExtraField.cs
- VirtualDirectoryMappingCollection.cs
- ListViewSelectEventArgs.cs
- AudioLevelUpdatedEventArgs.cs
- BinaryObjectWriter.cs
- Pool.cs
- BitmapEffectGeneralTransform.cs
- XmlBinaryReader.cs
- UnsafeNativeMethods.cs
- PropertyItemInternal.cs
- Assembly.cs
- DrawingVisual.cs
- ApplicationFileCodeDomTreeGenerator.cs
- WorkflowOperationFault.cs
- ConstantProjectedSlot.cs
- MLangCodePageEncoding.cs