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
- ipaddressinformationcollection.cs
- ParseChildrenAsPropertiesAttribute.cs
- CompiledIdentityConstraint.cs
- XmlNamedNodeMap.cs
- ToolStrip.cs
- ColumnWidthChangedEvent.cs
- IOThreadTimer.cs
- SystemUnicastIPAddressInformation.cs
- CodeGenerator.cs
- XmlWrappingReader.cs
- SkipQueryOptionExpression.cs
- Line.cs
- DatatypeImplementation.cs
- PeerCredentialElement.cs
- BinarySerializer.cs
- CultureInfo.cs
- Base64Encoder.cs
- Converter.cs
- TemplateContentLoader.cs
- DrawListViewItemEventArgs.cs
- DataGridRowDetailsEventArgs.cs
- OrderedDictionaryStateHelper.cs
- AtomMaterializer.cs
- ReferencedCollectionType.cs
- XmlSchemaParticle.cs
- SafeReversePInvokeHandle.cs
- ErrorFormatterPage.cs
- SmtpAuthenticationManager.cs
- WindowsListViewGroup.cs
- HttpHostedTransportConfiguration.cs
- PathGeometry.cs
- BuilderPropertyEntry.cs
- IResourceProvider.cs
- EntityWithKeyStrategy.cs
- DbConnectionInternal.cs
- PersonalizationAdministration.cs
- ItemsChangedEventArgs.cs
- SqlWriter.cs
- ListViewSelectEventArgs.cs
- GroupDescription.cs
- GeometryValueSerializer.cs
- LayoutEditorPart.cs
- Buffer.cs
- PolicyLevel.cs
- DataSourceCacheDurationConverter.cs
- Classification.cs
- ManualResetEvent.cs
- Rotation3D.cs
- ToolTipAutomationPeer.cs
- XsltCompileContext.cs
- ProtocolsSection.cs
- milrender.cs
- OleDbSchemaGuid.cs
- RepeaterItemCollection.cs
- DataGridCheckBoxColumn.cs
- ObjectStateEntryOriginalDbUpdatableDataRecord.cs
- SqlDependencyUtils.cs
- WrapPanel.cs
- DefaultCommandConverter.cs
- DeflateStream.cs
- XmlLinkedNode.cs
- FileVersionInfo.cs
- PhysicalOps.cs
- DiscoveryEndpointValidator.cs
- DataColumnPropertyDescriptor.cs
- MatrixConverter.cs
- ListViewTableRow.cs
- ProjectedSlot.cs
- QueryContinueDragEvent.cs
- PresentationAppDomainManager.cs
- EmptyReadOnlyDictionaryInternal.cs
- OTFRasterizer.cs
- EdgeProfileValidation.cs
- Table.cs
- CodeRemoveEventStatement.cs
- DynamicDocumentPaginator.cs
- ExceptionCollection.cs
- DBSqlParserColumn.cs
- ListItemParagraph.cs
- GeneralTransform3DCollection.cs
- StickyNoteAnnotations.cs
- ProviderMetadataCachedInformation.cs
- UniqueID.cs
- SyntaxCheck.cs
- ResourceReferenceKeyNotFoundException.cs
- ResourcesGenerator.cs
- SqlPersonalizationProvider.cs
- ItemsControl.cs
- ToolStripOverflow.cs
- IdentitySection.cs
- ImageInfo.cs
- SemanticKeyElement.cs
- XD.cs
- Events.cs
- DesignerProperties.cs
- QilDataSource.cs
- ConsoleKeyInfo.cs
- WebPartEventArgs.cs
- ProfileSettings.cs
- ReferenceConverter.cs