Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / Log / System / IO / Log / LogWriteRestartAreaAsyncResult.cs / 1 / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- HwndHostAutomationPeer.cs
- TreeViewCancelEvent.cs
- ForeignKeyConstraint.cs
- Int32Storage.cs
- PersonalizationStateInfoCollection.cs
- BitmapEffectInput.cs
- WindowsToolbarItemAsMenuItem.cs
- PtsHelper.cs
- EntityDataSourceContextCreatedEventArgs.cs
- FixedFindEngine.cs
- HMACSHA1.cs
- TailPinnedEventArgs.cs
- TabControlCancelEvent.cs
- QilCloneVisitor.cs
- XmlNodeComparer.cs
- NamespaceInfo.cs
- HtmlTernaryTree.cs
- AnnotationMap.cs
- SizeConverter.cs
- SchemaTypeEmitter.cs
- ExtenderProvidedPropertyAttribute.cs
- IPipelineRuntime.cs
- ObservableCollection.cs
- DataGridDetailsPresenterAutomationPeer.cs
- ClientCultureInfo.cs
- EntityViewGenerator.cs
- MsmqVerifier.cs
- XmlSchemaInferenceException.cs
- WebDisplayNameAttribute.cs
- SharedUtils.cs
- XmlRawWriterWrapper.cs
- PageSettings.cs
- CustomCategoryAttribute.cs
- DataObjectPastingEventArgs.cs
- Win32MouseDevice.cs
- RemotingSurrogateSelector.cs
- StringValidator.cs
- GridViewUpdatedEventArgs.cs
- SecurityBindingElement.cs
- TableHeaderCell.cs
- XslCompiledTransform.cs
- DocumentViewerBase.cs
- SafeFileMapViewHandle.cs
- Gdiplus.cs
- WebServiceEnumData.cs
- AssemblyBuilder.cs
- PopupRoot.cs
- DateBoldEvent.cs
- ProxyWebPartManager.cs
- TiffBitmapDecoder.cs
- TypeSemantics.cs
- ScriptResourceAttribute.cs
- XmlAnyAttributeAttribute.cs
- FixedFlowMap.cs
- TreeViewImageKeyConverter.cs
- ReachIDocumentPaginatorSerializerAsync.cs
- DbProviderConfigurationHandler.cs
- ContentWrapperAttribute.cs
- Int32Storage.cs
- RuntimeEnvironment.cs
- LinqDataSourceEditData.cs
- ListViewInsertionMark.cs
- DesignOnlyAttribute.cs
- HtmlEncodedRawTextWriter.cs
- AspCompat.cs
- BaseTemplateBuildProvider.cs
- Schema.cs
- TypeListConverter.cs
- EventProviderTraceListener.cs
- Int32CAMarshaler.cs
- PrintingPermission.cs
- COM2EnumConverter.cs
- CompositeFontFamily.cs
- DbConnectionPoolGroupProviderInfo.cs
- CryptoKeySecurity.cs
- CodeMemberProperty.cs
- UrlUtility.cs
- XamlFigureLengthSerializer.cs
- RegexMatch.cs
- DependencyObjectType.cs
- BuildProviderAppliesToAttribute.cs
- ContractMapping.cs
- RuntimeConfigLKG.cs
- ToolStripItemImageRenderEventArgs.cs
- XPathMessageFilterElementComparer.cs
- RootCodeDomSerializer.cs
- CacheEntry.cs
- CheckableControlBaseAdapter.cs
- HttpProtocolImporter.cs
- TraceInternal.cs
- CannotUnloadAppDomainException.cs
- PropertyPathConverter.cs
- SpeechEvent.cs
- DBSchemaTable.cs
- EntityDataSourceContainerNameConverter.cs
- PatternMatcher.cs
- BindingContext.cs
- SmtpNegotiateAuthenticationModule.cs
- ExternalException.cs
- PassportIdentity.cs