Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / System.Runtime.DurableInstancing / System / Runtime / DurableInstancing / InstancePersistenceCommand.cs / 1305376 / InstancePersistenceCommand.cs
//---------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. //--------------------------------------------------------------- namespace System.Runtime.DurableInstancing { using System; using System.Runtime; using System.Xml.Linq; using System.Collections.Generic; public abstract class InstancePersistenceCommand { protected InstancePersistenceCommand(XName name) { if (name == null) { throw Fx.Exception.ArgumentNull("name"); } Name = name; } public XName Name { get; private set; } protected internal virtual bool IsTransactionEnlistmentOptional { get { return false; } } // For now, only support registering to bind once the owner is established. (Can't create an owner and take a lock in one command.) protected internal virtual bool AutomaticallyAcquiringLock { get { return false; } } protected internal virtual void Validate(InstanceView view) { } internal virtual IEnumerableReduce(InstanceView view) { return null; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //---------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. //--------------------------------------------------------------- namespace System.Runtime.DurableInstancing { using System; using System.Runtime; using System.Xml.Linq; using System.Collections.Generic; public abstract class InstancePersistenceCommand { protected InstancePersistenceCommand(XName name) { if (name == null) { throw Fx.Exception.ArgumentNull("name"); } Name = name; } public XName Name { get; private set; } protected internal virtual bool IsTransactionEnlistmentOptional { get { return false; } } // For now, only support registering to bind once the owner is established. (Can't create an owner and take a lock in one command.) protected internal virtual bool AutomaticallyAcquiringLock { get { return false; } } protected internal virtual void Validate(InstanceView view) { } internal virtual IEnumerable Reduce(InstanceView view) { return null; } } } // 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
- KeyGestureConverter.cs
- ExpressionDumper.cs
- SID.cs
- MessageQueueConverter.cs
- FacetEnabledSchemaElement.cs
- PagesChangedEventArgs.cs
- InternalCache.cs
- TreeWalker.cs
- AnimationLayer.cs
- DataSourceCache.cs
- ReadOnlyHierarchicalDataSource.cs
- XmlText.cs
- DataGridViewRowStateChangedEventArgs.cs
- ImageInfo.cs
- JournalEntryStack.cs
- CqlParser.cs
- ControlIdConverter.cs
- DataGridViewCellToolTipTextNeededEventArgs.cs
- IsolatedStorageException.cs
- DecimalConverter.cs
- Thumb.cs
- SplashScreenNativeMethods.cs
- UnsafeNativeMethods.cs
- Command.cs
- ListBindingHelper.cs
- TraceXPathNavigator.cs
- HttpCookie.cs
- BuildProvidersCompiler.cs
- ObjectCloneHelper.cs
- XmlCodeExporter.cs
- Scene3D.cs
- FontStyle.cs
- WmlLinkAdapter.cs
- HTMLTextWriter.cs
- RepeatInfo.cs
- ComEventsHelper.cs
- RetrieveVirtualItemEventArgs.cs
- UniqueConstraint.cs
- ComponentResourceKeyConverter.cs
- UnsafeNativeMethods.cs
- MergablePropertyAttribute.cs
- FileFormatException.cs
- RecipientInfo.cs
- DbConnectionStringBuilder.cs
- TypeElement.cs
- BidPrivateBase.cs
- ThemeableAttribute.cs
- MailWriter.cs
- ToolStripItemClickedEventArgs.cs
- StatusBar.cs
- QueryableDataSource.cs
- URLAttribute.cs
- ManifestResourceInfo.cs
- FacetEnabledSchemaElement.cs
- UrlPropertyAttribute.cs
- ObservableCollection.cs
- FixedFlowMap.cs
- GcSettings.cs
- Models.cs
- SqlFileStream.cs
- DataGridViewCellFormattingEventArgs.cs
- DebugInfoGenerator.cs
- SpoolingTask.cs
- PackUriHelper.cs
- CreateUserWizard.cs
- ExpressionReplacer.cs
- Opcode.cs
- GcHandle.cs
- StorageAssociationSetMapping.cs
- GroupBox.cs
- FrameworkContentElement.cs
- PersistenceParticipant.cs
- ReadContentAsBinaryHelper.cs
- OracleConnection.cs
- TemplatedAdorner.cs
- ToolStripSeparator.cs
- Utils.cs
- AppDomainProtocolHandler.cs
- BinHexDecoder.cs
- WorkflowFileItem.cs
- XmlStreamNodeWriter.cs
- UpdateExpressionVisitor.cs
- AssociationTypeEmitter.cs
- RealizationContext.cs
- ControlCollection.cs
- SafeArrayTypeMismatchException.cs
- StorageRoot.cs
- DateTimeEditor.cs
- WebPartZoneBase.cs
- DataRecordObjectView.cs
- EventProviderWriter.cs
- HatchBrush.cs
- XmlEventCache.cs
- MouseGestureValueSerializer.cs
- InkPresenterAutomationPeer.cs
- RIPEMD160Managed.cs
- HwndSubclass.cs
- ScrollableControl.cs
- ProfileSection.cs
- Rights.cs