Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / Log / System / IO / Log / LogAppendAsyncResult.cs / 1 / LogAppendAsyncResult.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 LogAppendAsyncResult : OverlappedAsyncResult { LogReserveAndAppendState state; internal LogAppendAsyncResult(LogRecordSequence recordSequence, AsyncCallback callback, object state) : base(callback, state) { this.state = new LogReserveAndAppendState(); this.state.RecordSequence = recordSequence; this.state.AsyncResult = this; } //=========================================================== // Parameters //=========================================================== internal IList> Data { /* get { return this.state.Data; } */ set { this.state.Data = value; } } internal ulong PreviousLsn { /* get { return this.state.PreviousLsn; } */ set { this.state.PreviousLsn = value; } } internal long[] Reservations { get { return this.state.Reservations; } set { this.state.Reservations = 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; } } internal ulong UserLsn { /* get { return this.state.UserLsn; } */ set { this.state.UserLsn = value; } } internal RecordAppendOptions RecordAppendOptions { /* get { return this.state.RecordAppendOptions; } */ set { this.state.RecordAppendOptions = 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
- DbgCompiler.cs
- FloaterParagraph.cs
- TypeDescriptionProvider.cs
- SHA1CryptoServiceProvider.cs
- PeerName.cs
- HttpResponseInternalWrapper.cs
- AssemblyBuilder.cs
- hebrewshape.cs
- ObjectDataSource.cs
- _ListenerAsyncResult.cs
- WebControlAdapter.cs
- XmlExceptionHelper.cs
- ClientSponsor.cs
- NativeObjectSecurity.cs
- CheckoutException.cs
- DataGridViewCellValidatingEventArgs.cs
- GenericsInstances.cs
- UnknownWrapper.cs
- BookmarkResumptionRecord.cs
- RootDesignerSerializerAttribute.cs
- PropertyChangingEventArgs.cs
- Clock.cs
- SerializerProvider.cs
- AdornerHitTestResult.cs
- OutputScope.cs
- SurrogateDataContract.cs
- IsolatedStorageFilePermission.cs
- UniqueIdentifierService.cs
- Events.cs
- ContextMarshalException.cs
- PersonalizationAdministration.cs
- BoolLiteral.cs
- PageHandlerFactory.cs
- ObjectDataSourceEventArgs.cs
- SecurityProtocolFactory.cs
- ParamArrayAttribute.cs
- ContentPathSegment.cs
- GridEntry.cs
- WebConvert.cs
- TextParagraphProperties.cs
- EmptyCollection.cs
- SizeAnimation.cs
- SqlBooleanMismatchVisitor.cs
- IssuedSecurityTokenProvider.cs
- InstanceKeyCollisionException.cs
- SystemThemeKey.cs
- SqlNodeAnnotations.cs
- AspCompat.cs
- BindingMAnagerBase.cs
- MediaScriptCommandRoutedEventArgs.cs
- PackWebRequestFactory.cs
- AdapterUtil.cs
- FilePrompt.cs
- AppearanceEditorPart.cs
- List.cs
- QilLiteral.cs
- SynchronousChannel.cs
- RightsManagementEncryptedStream.cs
- OleDbCommandBuilder.cs
- TreeViewImageGenerator.cs
- XamlParser.cs
- NativeMethods.cs
- TerminatorSinks.cs
- DelegateBodyWriter.cs
- XamlGridLengthSerializer.cs
- PagesSection.cs
- PathStreamGeometryContext.cs
- Double.cs
- ListParaClient.cs
- BezierSegment.cs
- GridViewCancelEditEventArgs.cs
- DateTimeFormatInfoScanner.cs
- DeferredReference.cs
- SchemaReference.cs
- SafeNativeMethods.cs
- StylusPlugin.cs
- PolicyLevel.cs
- DependentList.cs
- DbExpressionVisitor_TResultType.cs
- ColorDialog.cs
- OleDbException.cs
- GenericPrincipal.cs
- SchemaImporterExtension.cs
- KerberosReceiverSecurityToken.cs
- OciEnlistContext.cs
- SqlFactory.cs
- RecordConverter.cs
- GridViewRow.cs
- XmlException.cs
- ImageListImageEditor.cs
- XmlLoader.cs
- __ConsoleStream.cs
- ReferencedType.cs
- WindowsStatusBar.cs
- Crc32Helper.cs
- XomlSerializationHelpers.cs
- _UncName.cs
- StaticExtension.cs
- PointCollection.cs
- WorkflowMarkupSerializer.cs