Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / NetFx40 / System.Activities / System / Activities / DurableInstancing / TryLoadRunnableWorkflowCommand.cs / 1305376 / TryLoadRunnableWorkflowCommand.cs
//---------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. //--------------------------------------------------------------- namespace System.Activities.DurableInstancing { using System.Runtime; using System.Runtime.DurableInstancing; [Fx.Tag.XamlVisible(false)] public sealed class TryLoadRunnableWorkflowCommand : InstancePersistenceCommand { public TryLoadRunnableWorkflowCommand() : base(InstancePersistence.ActivitiesCommandNamespace.GetName("TryLoadRunnableWorkflow")) { } protected internal override bool IsTransactionEnlistmentOptional { get { return true; } } protected internal override bool AutomaticallyAcquiringLock { get { return true; } } protected internal override void Validate(InstanceView view) { if (!view.IsBoundToInstanceOwner) { throw FxTrace.Exception.AsError(new InvalidOperationException(SRCore.OwnerRequired)); } if (view.IsBoundToInstance) { throw FxTrace.Exception.AsError(new InvalidOperationException(SRCore.AlreadyBoundToInstance)); } } } } // 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
- ExpressionConverter.cs
- DeviceContext.cs
- Point.cs
- TypographyProperties.cs
- EntitySqlException.cs
- XmlResolver.cs
- activationcontext.cs
- ComponentResourceKeyConverter.cs
- CharUnicodeInfo.cs
- XmlEnumAttribute.cs
- GeometryConverter.cs
- OletxVolatileEnlistment.cs
- ToolStripItemImageRenderEventArgs.cs
- StringFormat.cs
- HistoryEventArgs.cs
- Hash.cs
- UserInitiatedRoutedEventPermissionAttribute.cs
- SymmetricSecurityProtocol.cs
- ClientConfigurationSystem.cs
- XmlSchemaRedefine.cs
- XmlSchemaSimpleContent.cs
- ContentOperations.cs
- CommonProperties.cs
- XPathNodeList.cs
- XamlClipboardData.cs
- StyleBamlTreeBuilder.cs
- IArgumentProvider.cs
- HttpHeaderCollection.cs
- ListViewContainer.cs
- LinqDataSourceContextEventArgs.cs
- RelationshipConstraintValidator.cs
- PartialCachingControl.cs
- InvalidAsynchronousStateException.cs
- ScopeCollection.cs
- ListItemConverter.cs
- SafeProcessHandle.cs
- MetadataSerializer.cs
- BadImageFormatException.cs
- FormatVersion.cs
- ConstraintConverter.cs
- webbrowsersite.cs
- SubclassTypeValidator.cs
- ResourceExpressionEditorSheet.cs
- SapiRecognizer.cs
- FragmentQueryProcessor.cs
- InputLangChangeRequestEvent.cs
- SymbolEqualComparer.cs
- Delay.cs
- Delegate.cs
- BasicAsyncResult.cs
- BaseTemplateBuildProvider.cs
- InvalidFilterCriteriaException.cs
- PerspectiveCamera.cs
- ScriptingJsonSerializationSection.cs
- UnsafeNativeMethodsTablet.cs
- DashStyle.cs
- FormViewDeleteEventArgs.cs
- MailWebEventProvider.cs
- ExitEventArgs.cs
- ApplicationServicesHostFactory.cs
- PinnedBufferMemoryStream.cs
- PropertyConverter.cs
- AspNetRouteServiceHttpHandler.cs
- Stack.cs
- ExpandedWrapper.cs
- DocumentApplicationJournalEntry.cs
- HtmlInputCheckBox.cs
- CaseInsensitiveHashCodeProvider.cs
- RequestResizeEvent.cs
- DiscardableAttribute.cs
- ImageSource.cs
- DataColumnPropertyDescriptor.cs
- FileDataSourceCache.cs
- rsa.cs
- RichTextBox.cs
- IDQuery.cs
- SeekableReadStream.cs
- StateInitialization.cs
- XhtmlConformanceSection.cs
- NeutralResourcesLanguageAttribute.cs
- MultipartContentParser.cs
- HyperLink.cs
- DesignerTransaction.cs
- ValueSerializerAttribute.cs
- DesignTimeParseData.cs
- SHA256Managed.cs
- RadioButtonList.cs
- EncryptedPackageFilter.cs
- CompleteWizardStep.cs
- ExpressionBinding.cs
- WebBrowserBase.cs
- Geometry3D.cs
- ButtonColumn.cs
- DataSourceDescriptorCollection.cs
- hebrewshape.cs
- XmlCDATASection.cs
- UnmanagedBitmapWrapper.cs
- CompModSwitches.cs
- GorillaCodec.cs
- XmlEncoding.cs