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
- SendMailErrorEventArgs.cs
- SafeReadContext.cs
- CompoundFileIOPermission.cs
- RouteParser.cs
- ColorKeyFrameCollection.cs
- VoiceSynthesis.cs
- SqlRewriteScalarSubqueries.cs
- ButtonBaseAdapter.cs
- WorkItem.cs
- DataGridCellAutomationPeer.cs
- UnicodeEncoding.cs
- IWorkflowDebuggerService.cs
- MobilePage.cs
- SqlInfoMessageEvent.cs
- DataProtection.cs
- SkinBuilder.cs
- ModelFunctionTypeElement.cs
- DataGridViewAdvancedBorderStyle.cs
- RouteParser.cs
- LinkGrep.cs
- ApplyTemplatesAction.cs
- CryptoHelper.cs
- SecureStringHasher.cs
- Substitution.cs
- HealthMonitoringSectionHelper.cs
- RouteItem.cs
- TypeResolver.cs
- AdCreatedEventArgs.cs
- CodeConditionStatement.cs
- QueryContinueDragEvent.cs
- CategoryNameCollection.cs
- TabItem.cs
- AssertHelper.cs
- StorageFunctionMapping.cs
- SuppressMessageAttribute.cs
- AppManager.cs
- ListItemConverter.cs
- InternalEnumValidator.cs
- SystemNetHelpers.cs
- PropVariant.cs
- Application.cs
- IdentityManager.cs
- IncomingWebRequestContext.cs
- UrlMappingsSection.cs
- SafeRightsManagementEnvironmentHandle.cs
- Color.cs
- SchemaTypeEmitter.cs
- TaskHelper.cs
- ReadOnlyAttribute.cs
- SqlAliaser.cs
- NavigatorOutput.cs
- Assembly.cs
- Fonts.cs
- UnsafeNativeMethods.cs
- codemethodreferenceexpression.cs
- DataGrid.cs
- SoapElementAttribute.cs
- SEHException.cs
- Expression.cs
- MembershipSection.cs
- VerticalAlignConverter.cs
- MSG.cs
- EntityTemplateUserControl.cs
- HelloMessageCD1.cs
- ColumnPropertiesGroup.cs
- StructuralType.cs
- WpfKnownMemberInvoker.cs
- ServerReliableChannelBinder.cs
- GlyphsSerializer.cs
- EditingScope.cs
- streamingZipPartStream.cs
- StringUtil.cs
- XmlNodeComparer.cs
- NumericUpDownAcceleration.cs
- Repeater.cs
- SynchronizedDispatch.cs
- DataGridViewImageColumn.cs
- ObjectListGeneralPage.cs
- Assembly.cs
- DocumentViewerAutomationPeer.cs
- SpnegoTokenProvider.cs
- XmlReflectionImporter.cs
- DataErrorValidationRule.cs
- RegexInterpreter.cs
- XmlSchemaValidator.cs
- WindowsEditBoxRange.cs
- XmlSchemaExternal.cs
- WebPartMenuStyle.cs
- MessageFilterTable.cs
- CalendarDateRange.cs
- _DomainName.cs
- ResourceExpression.cs
- LoginCancelEventArgs.cs
- TextSearch.cs
- Vector3DConverter.cs
- FontEditor.cs
- CodeAccessSecurityEngine.cs
- HttpValueCollection.cs
- ContainerUIElement3D.cs
- FilteredAttributeCollection.cs