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
- GradientStopCollection.cs
- MemberInitExpression.cs
- DataGridViewColumnConverter.cs
- MdImport.cs
- ResponseStream.cs
- SystemResources.cs
- XmlSerializerSection.cs
- Graphics.cs
- SettingsBindableAttribute.cs
- EntityDesignerBuildProvider.cs
- WebPartCollection.cs
- Pair.cs
- documentation.cs
- GeneralTransformGroup.cs
- AnnotationResourceChangedEventArgs.cs
- SqlTriggerAttribute.cs
- EncodingDataItem.cs
- X509Certificate2.cs
- TemplatedMailWebEventProvider.cs
- Point3D.cs
- MediaElementAutomationPeer.cs
- DPAPIProtectedConfigurationProvider.cs
- CodeDirectiveCollection.cs
- SafeNativeMethodsMilCoreApi.cs
- ResXResourceWriter.cs
- Rights.cs
- HttpModulesSection.cs
- HttpsChannelListener.cs
- XmlHierarchyData.cs
- SapiRecognizer.cs
- ShaperBuffers.cs
- WorkflowPageSetupDialog.cs
- NavigateEvent.cs
- SafeProcessHandle.cs
- Attributes.cs
- ObjectDataSourceMethodEventArgs.cs
- GeneralTransform.cs
- Brush.cs
- ComponentCollection.cs
- PageCodeDomTreeGenerator.cs
- NamedPermissionSet.cs
- XmlSchemaSearchPattern.cs
- WindowsFont.cs
- BaseResourcesBuildProvider.cs
- DbConnectionInternal.cs
- FragmentQueryProcessor.cs
- MonitorWrapper.cs
- RegisterResponseInfo.cs
- GenericRootAutomationPeer.cs
- ExtensionElement.cs
- SqlWebEventProvider.cs
- XhtmlConformanceSection.cs
- NameSpaceExtractor.cs
- CodeBlockBuilder.cs
- ToolStripMenuItem.cs
- Graphics.cs
- ToolBarButtonClickEvent.cs
- COMException.cs
- ListViewTableCell.cs
- Matrix.cs
- Suspend.cs
- EventLogPermissionAttribute.cs
- UIServiceHelper.cs
- SubclassTypeValidatorAttribute.cs
- AudioException.cs
- LiteralText.cs
- CatalogPartChrome.cs
- BamlLocalizabilityResolver.cs
- cache.cs
- AppDomainFactory.cs
- GenericQueueSurrogate.cs
- Soap.cs
- Baml2006KeyRecord.cs
- CreateRefExpr.cs
- objectquery_tresulttype.cs
- TypeExtension.cs
- ToolStripDesignerUtils.cs
- TokenBasedSetEnumerator.cs
- SqlInfoMessageEvent.cs
- TdsEnums.cs
- NameNode.cs
- PeerNameResolver.cs
- MatrixCamera.cs
- QueryStringHandler.cs
- RSAOAEPKeyExchangeDeformatter.cs
- Model3D.cs
- VectorAnimationBase.cs
- _SslState.cs
- TimeSpan.cs
- LZCodec.cs
- SecurityUtils.cs
- GeneralTransformCollection.cs
- InputGestureCollection.cs
- DbUpdateCommandTree.cs
- ApplicationContext.cs
- JavaScriptObjectDeserializer.cs
- Int64Converter.cs
- AddValidationError.cs
- DocumentCollection.cs
- XmlSchemaInferenceException.cs