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
- PropertyOverridesDialog.cs
- ObfuscateAssemblyAttribute.cs
- ReferencedType.cs
- DependencyPropertyAttribute.cs
- SspiNegotiationTokenAuthenticator.cs
- GatewayDefinition.cs
- SectionInformation.cs
- TraceContextRecord.cs
- UpdatePanelControlTrigger.cs
- OracleDataReader.cs
- NumberAction.cs
- TextRangeEditLists.cs
- DependencyPropertyConverter.cs
- AssertUtility.cs
- TransactionChannelListener.cs
- ClientRuntimeConfig.cs
- ProgressBar.cs
- BrushConverter.cs
- WaitHandle.cs
- WindowCollection.cs
- MessageSmuggler.cs
- WebAdminConfigurationHelper.cs
- ToolStripRenderer.cs
- EdmProviderManifest.cs
- ThreadStartException.cs
- SortExpressionBuilder.cs
- InternalBase.cs
- SqlDataSourceCache.cs
- MetadataHelper.cs
- documentsequencetextcontainer.cs
- MetadataItemCollectionFactory.cs
- CompressEmulationStream.cs
- ListItemCollection.cs
- TemplateControlBuildProvider.cs
- ServiceSecurityAuditBehavior.cs
- SortKey.cs
- DataControlFieldCell.cs
- PageSettings.cs
- IsolatedStorageException.cs
- ScriptReferenceBase.cs
- XmlText.cs
- DocumentApplication.cs
- NavigationFailedEventArgs.cs
- RtfToken.cs
- LineServicesRun.cs
- TileBrush.cs
- TextBox.cs
- SwitchLevelAttribute.cs
- CellTreeNode.cs
- SqlDataSourceWizardForm.cs
- WSDualHttpSecurity.cs
- SafeNativeMethodsCLR.cs
- TraceListener.cs
- SqlDependencyListener.cs
- TableStyle.cs
- TaskForm.cs
- String.cs
- MsdtcWrapper.cs
- SectionRecord.cs
- TypeSource.cs
- VisualStateManager.cs
- __FastResourceComparer.cs
- CompModSwitches.cs
- X509SecurityTokenParameters.cs
- PassportAuthentication.cs
- DataGridViewLinkColumn.cs
- KoreanCalendar.cs
- SimplePropertyEntry.cs
- ClientOperation.cs
- StreamMarshaler.cs
- WeakReference.cs
- Resources.Designer.cs
- ProxyHelper.cs
- AssemblyBuilder.cs
- CacheMemory.cs
- RbTree.cs
- GraphicsPathIterator.cs
- ClusterRegistryConfigurationProvider.cs
- ReaderContextStackData.cs
- MemoryRecordBuffer.cs
- ColorTransform.cs
- XmlSerializerFactory.cs
- VirtualPathProvider.cs
- GridItemPatternIdentifiers.cs
- SafeCoTaskMem.cs
- RawKeyboardInputReport.cs
- StrongNameUtility.cs
- GeneralTransformGroup.cs
- MessageHeaderDescription.cs
- OverflowException.cs
- HttpFileCollectionWrapper.cs
- CodeTypeMemberCollection.cs
- SoapHeaderException.cs
- WebPartVerbCollection.cs
- GridItemCollection.cs
- DependencySource.cs
- COM2PropertyDescriptor.cs
- StrokeNodeData.cs
- EdmToObjectNamespaceMap.cs
- SkipQueryOptionExpression.cs