Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / NetFx40 / System.Activities / System / Activities / DurableInstancing / DeleteWorkflowOwnerCommand.cs / 1305376 / DeleteWorkflowOwnerCommand.cs
//---------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. //--------------------------------------------------------------- namespace System.Activities.DurableInstancing { using System; using System.Collections.Generic; using System.Runtime; using System.Runtime.DurableInstancing; using System.Xml.Linq; [Fx.Tag.XamlVisible(false)] public sealed class DeleteWorkflowOwnerCommand : InstancePersistenceCommand { public DeleteWorkflowOwnerCommand() : base(InstancePersistence.ActivitiesCommandNamespace.GetName("DeleteWorkflowOwner")) { } protected internal override bool IsTransactionEnlistmentOptional { get { return true; } } protected internal override void Validate(InstanceView view) { if (!view.IsBoundToInstanceOwner) { throw FxTrace.Exception.AsError(new InvalidOperationException(SRCore.OwnerRequired)); } } } } // 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
- ISCIIEncoding.cs
- XmlValidatingReader.cs
- CalendarDateChangedEventArgs.cs
- ContentOperations.cs
- ExtensionQuery.cs
- QuaternionIndependentAnimationStorage.cs
- PrimitiveXmlSerializers.cs
- VisualBasicReference.cs
- Geometry3D.cs
- SerializationObjectManager.cs
- BindingBase.cs
- QilTargetType.cs
- EventLog.cs
- UInt64.cs
- coordinatorscratchpad.cs
- ClientSession.cs
- XsltContext.cs
- SqlProviderServices.cs
- Tile.cs
- DocumentSequenceHighlightLayer.cs
- ExceptionUtil.cs
- BamlTreeNode.cs
- IdnElement.cs
- Main.cs
- UniqueConstraint.cs
- QilLiteral.cs
- EntryPointNotFoundException.cs
- PeerInvitationResponse.cs
- SmiMetaDataProperty.cs
- CodeBinaryOperatorExpression.cs
- TemplateBamlTreeBuilder.cs
- Stroke2.cs
- FileEnumerator.cs
- LinearKeyFrames.cs
- DataControlLinkButton.cs
- Gdiplus.cs
- LoopExpression.cs
- X509AsymmetricSecurityKey.cs
- PropertiesTab.cs
- SchemaElementDecl.cs
- XmlLanguage.cs
- XmlSchemaInferenceException.cs
- ConsoleTraceListener.cs
- HtmlForm.cs
- UInt32Converter.cs
- ConstraintConverter.cs
- ToolStripProgressBar.cs
- XmlNamespaceMappingCollection.cs
- TextTreeUndo.cs
- SoapIgnoreAttribute.cs
- SQLInt64.cs
- HTTPNotFoundHandler.cs
- SqlFacetAttribute.cs
- DocumentOrderQuery.cs
- SqlUserDefinedAggregateAttribute.cs
- CompiledQuery.cs
- ManagementInstaller.cs
- XPathDocumentBuilder.cs
- HandleTable.cs
- ConfigurationElement.cs
- smtppermission.cs
- ValidationHelper.cs
- HashHelper.cs
- ECDiffieHellmanCngPublicKey.cs
- StylusButtonCollection.cs
- DataGridViewCellStyleChangedEventArgs.cs
- EditorZoneBase.cs
- DynamicMethod.cs
- PasswordPropertyTextAttribute.cs
- HtmlFormWrapper.cs
- FieldNameLookup.cs
- RefType.cs
- DependencyPropertyHelper.cs
- MemoryStream.cs
- DBSqlParserTable.cs
- Module.cs
- TracedNativeMethods.cs
- SqlTriggerAttribute.cs
- StyleBamlTreeBuilder.cs
- CodeCatchClause.cs
- PingOptions.cs
- WCFBuildProvider.cs
- PersonalizablePropertyEntry.cs
- X509Certificate.cs
- CharEntityEncoderFallback.cs
- CultureInfoConverter.cs
- UnmanagedMemoryStream.cs
- MessageHeaderException.cs
- Roles.cs
- TCPClient.cs
- EventProvider.cs
- SiteMapPath.cs
- LayoutInformation.cs
- CachedFontFamily.cs
- EFDataModelProvider.cs
- ThreadStartException.cs
- HttpClientCertificate.cs
- SchemaMerger.cs
- DependencySource.cs
- XmlILConstructAnalyzer.cs