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
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- Rect.cs
- DataGridAddNewRow.cs
- NetStream.cs
- SqlCacheDependencySection.cs
- CodeRegionDirective.cs
- ReachPageContentSerializerAsync.cs
- NumericPagerField.cs
- TdsParserSafeHandles.cs
- ColumnTypeConverter.cs
- BooleanProjectedSlot.cs
- SafeHGlobalHandleCritical.cs
- TemplateField.cs
- GuidelineSet.cs
- XamlNamespaceHelper.cs
- ItemsChangedEventArgs.cs
- AttributeCollection.cs
- ContentFilePart.cs
- CodeArrayCreateExpression.cs
- CompilerHelpers.cs
- CharacterMetricsDictionary.cs
- EnumUnknown.cs
- ToolboxDataAttribute.cs
- BinaryObjectWriter.cs
- LayoutEngine.cs
- _SSPIWrapper.cs
- Pkcs9Attribute.cs
- RemoteDebugger.cs
- CommonDialog.cs
- ResetableIterator.cs
- counter.cs
- ComboBox.cs
- XmlSchemaIdentityConstraint.cs
- Helpers.cs
- BitmapMetadata.cs
- ToolStripDropDownClosingEventArgs.cs
- UriSectionReader.cs
- PrintController.cs
- IUnknownConstantAttribute.cs
- HttpWrapper.cs
- Model3DCollection.cs
- Int64.cs
- DataAdapter.cs
- DataServiceQueryProvider.cs
- DynamicDiscoveryDocument.cs
- WebPartVerbsEventArgs.cs
- SmuggledIUnknown.cs
- LocatorManager.cs
- LineProperties.cs
- MediaPlayerState.cs
- LeafCellTreeNode.cs
- MemberRelationshipService.cs
- IMembershipProvider.cs
- DynamicMethod.cs
- UIElementCollection.cs
- SchemaNamespaceManager.cs
- QueryCacheEntry.cs
- Geometry3D.cs
- DesignerAttributeInfo.cs
- HttpModuleAction.cs
- TemplateColumn.cs
- VisualStateManager.cs
- SequentialWorkflowRootDesigner.cs
- OdbcError.cs
- TextEditorCopyPaste.cs
- XmlNamespaceDeclarationsAttribute.cs
- Rect3D.cs
- ScriptRegistrationManager.cs
- MimeReflector.cs
- mediaeventargs.cs
- XamlReaderHelper.cs
- CompositeFontInfo.cs
- XmlNodeReader.cs
- Cursors.cs
- GeneratedContractType.cs
- EdmEntityTypeAttribute.cs
- PluralizationServiceUtil.cs
- Journal.cs
- PropertyChangedEventManager.cs
- ExtractedStateEntry.cs
- ObservableCollection.cs
- SchemaTableOptionalColumn.cs
- Array.cs
- LogSwitch.cs
- WindowsAltTab.cs
- DateTimeFormat.cs
- PropertyMapper.cs
- BufferModesCollection.cs
- SplitterEvent.cs
- SrgsElementFactory.cs
- safesecurityhelperavalon.cs
- TransformPattern.cs
- TranslateTransform3D.cs
- IISUnsafeMethods.cs
- InfoCardRSAPKCS1SignatureDeformatter.cs
- OracleConnectionString.cs
- StructuredTypeEmitter.cs
- ListViewHitTestInfo.cs
- ConnectionManagementElement.cs
- RSAOAEPKeyExchangeDeformatter.cs
- AmbientProperties.cs