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
- TreeNodeCollection.cs
- SrgsDocument.cs
- PolyBezierSegment.cs
- StickyNoteContentControl.cs
- WindowsBrush.cs
- PKCS1MaskGenerationMethod.cs
- _NestedMultipleAsyncResult.cs
- UnmanagedMemoryStream.cs
- PropertyInformationCollection.cs
- ObjectDataSourceStatusEventArgs.cs
- CultureData.cs
- PageThemeBuildProvider.cs
- WindowExtensionMethods.cs
- EnumType.cs
- MsmqIntegrationChannelListener.cs
- ByteAnimationUsingKeyFrames.cs
- AuthenticationModulesSection.cs
- BasicCellRelation.cs
- IntegerValidator.cs
- DataSourceSelectArguments.cs
- SoapFormatExtensions.cs
- MultiSelector.cs
- BamlTreeMap.cs
- WorkflowInstanceProvider.cs
- ValueTypeFixupInfo.cs
- altserialization.cs
- ValidatorUtils.cs
- HwndTarget.cs
- DocumentGridContextMenu.cs
- ArrayConverter.cs
- Switch.cs
- TreeNode.cs
- SafeIUnknown.cs
- CodeTypeConstructor.cs
- LogEntry.cs
- UdpTransportSettings.cs
- XmlSchemaGroupRef.cs
- PointCollectionValueSerializer.cs
- DataRowChangeEvent.cs
- OdbcDataAdapter.cs
- GroupAggregateExpr.cs
- ExceptionValidationRule.cs
- FileReservationCollection.cs
- SqlOuterApplyReducer.cs
- InternalMappingException.cs
- SharedDp.cs
- InputScopeConverter.cs
- SiteMapDataSourceView.cs
- HttpResponseHeader.cs
- TileModeValidation.cs
- SymbolMethod.cs
- WebPartPersonalization.cs
- IntSecurity.cs
- SpeechRecognizer.cs
- DigitShape.cs
- DistributedTransactionPermission.cs
- ExpressionBinding.cs
- WinEventWrap.cs
- EntityDataSourceState.cs
- PageBreakRecord.cs
- TrustLevel.cs
- ReversePositionQuery.cs
- SecurityResources.cs
- EdmRelationshipRoleAttribute.cs
- _NegotiateClient.cs
- FlowLayoutPanel.cs
- MethodSignatureGenerator.cs
- CounterSample.cs
- DropShadowBitmapEffect.cs
- SimpleHandlerBuildProvider.cs
- FatalException.cs
- ToolStripDropDownItem.cs
- TextSelectionHighlightLayer.cs
- RepeaterItemCollection.cs
- safelinkcollection.cs
- wgx_exports.cs
- DefaultHttpHandler.cs
- InternalCache.cs
- PrintController.cs
- ResponseStream.cs
- XamlValidatingReader.cs
- MembershipAdapter.cs
- ExpressionBuilder.cs
- TypefaceMetricsCache.cs
- XmlText.cs
- FontStyleConverter.cs
- ParameterBinding.cs
- AxDesigner.cs
- ItemAutomationPeer.cs
- ContentFilePart.cs
- HwndSubclass.cs
- XmlSchemaNotation.cs
- WebPartDeleteVerb.cs
- NetworkInformationException.cs
- DataGridViewColumnConverter.cs
- RuntimeConfigLKG.cs
- MemoryPressure.cs
- ReferenceEqualityComparer.cs
- IgnorePropertiesAttribute.cs
- HttpServerUtilityBase.cs