Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / TransactionBridge / Microsoft / Transactions / Bridge / Ppl.cs / 2 / Ppl.cs
//------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- using System; using System.Diagnostics; using System.Security.Permissions; using System.Runtime.Serialization; using System.Threading; using System.Transactions; using System.ServiceModel.Transactions; namespace Microsoft.Transactions.Bridge { ////// /// enum Status { Success, Error, Committed, Aborted, Prepared, Readonly, PrePrepared, InDoubt, DuplicateTransaction, TooLate, TransactionNotFound, TooManySubordinateEnlistments, InvalidRecoveryData, LocalPropagation, DuplicatePropagation } ////// note: this is a place holder for state, it does not mean that state /// will ultimately be defined via an enum. State transistion diagram /// is TBS in PPL spec. /// enum TransactionManagerState { Uninitialized, Initialized, Starting, Started, Stopping, Stopped } /// TransactionManagerCallback delegate ////// Defines callback for TransactionManagerCoordinatorService /// and TransactionManagerPropagateService methods. /// delegate void TransactionManagerCallback( Enlistment enlistment, Status status, object state ); class EnlistmentOptions { public EnlistmentOptions() { expires = new TimeSpan(0, 5, 0); isoLevel = IsolationLevel.Unspecified; } public TimeSpan Expires { get{ return expires; } set{ expires = value; } } public IsolationLevel IsoLevel { get{ return isoLevel; } set{ isoLevel = value; } } public IsolationFlags IsolationFlags { get{ return this.isoFlags; } set{ this.isoFlags = value; } } public ulong IsolationFlagsLong { get{ return (ulong)this.isoFlags; } set{ this.isoFlags = (IsolationFlags)value; } } public string Description { get{ return description; } set{ description = value; } } TimeSpan expires; IsolationLevel isoLevel; IsolationFlags isoFlags; string description; } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- HttpRuntime.cs
- MenuItemBinding.cs
- AncestorChangedEventArgs.cs
- Transform3DGroup.cs
- MaxMessageSizeStream.cs
- FileChangesMonitor.cs
- FontEmbeddingManager.cs
- CodeExpressionStatement.cs
- GroupBoxAutomationPeer.cs
- StateBag.cs
- MdbDataFileEditor.cs
- XmlEventCache.cs
- TypeInitializationException.cs
- CodeNamespaceCollection.cs
- ContextMenu.cs
- FileSystemWatcher.cs
- QuadraticBezierSegment.cs
- FusionWrap.cs
- TabRenderer.cs
- StringFormat.cs
- Base64Stream.cs
- ZipQueryOperator.cs
- SqlInfoMessageEvent.cs
- Cloud.cs
- TextRange.cs
- InternalsVisibleToAttribute.cs
- TextEncodedRawTextWriter.cs
- MessageProperties.cs
- SoapExtensionTypeElement.cs
- SessionSwitchEventArgs.cs
- ConfigViewGenerator.cs
- DrawingAttributesDefaultValueFactory.cs
- RoleManagerSection.cs
- CompilationUtil.cs
- OrthographicCamera.cs
- WindowsEditBoxRange.cs
- TypeUsage.cs
- WebPartCollection.cs
- wgx_sdk_version.cs
- HttpPostedFileWrapper.cs
- BitmapCodecInfoInternal.cs
- WebConfigurationFileMap.cs
- ImpersonateTokenRef.cs
- Debug.cs
- Command.cs
- PropertyFilterAttribute.cs
- ClientBuildManager.cs
- ClientApiGenerator.cs
- FormViewPageEventArgs.cs
- MenuItemCollectionEditor.cs
- DbParameterCollectionHelper.cs
- XsltArgumentList.cs
- MessageDecoder.cs
- ProviderUtil.cs
- WebPermission.cs
- EasingKeyFrames.cs
- TdsParserStateObject.cs
- ContentWrapperAttribute.cs
- ADMembershipUser.cs
- TraceSwitch.cs
- TransactionalPackage.cs
- XmlStringTable.cs
- ResourceType.cs
- ButtonPopupAdapter.cs
- RemotingServices.cs
- SuppressMergeCheckAttribute.cs
- SmiEventSink.cs
- DataGridViewImageColumn.cs
- DataTrigger.cs
- RetrieveVirtualItemEventArgs.cs
- DependencyObjectProvider.cs
- WasHostedComPlusFactory.cs
- GridItem.cs
- ModuleElement.cs
- OdbcFactory.cs
- ToolStripContentPanelRenderEventArgs.cs
- DispatcherExceptionFilterEventArgs.cs
- ParseHttpDate.cs
- NoClickablePointException.cs
- RegexStringValidatorAttribute.cs
- PropertyChangingEventArgs.cs
- ClusterSafeNativeMethods.cs
- DataTable.cs
- CodeNamespace.cs
- BaseProcessor.cs
- XmlAtomErrorReader.cs
- Variant.cs
- SamlAudienceRestrictionCondition.cs
- ConfigurationManagerInternalFactory.cs
- ClickablePoint.cs
- MappingModelBuildProvider.cs
- Touch.cs
- DockAndAnchorLayout.cs
- FormView.cs
- SiteMapNodeItemEventArgs.cs
- SafeProcessHandle.cs
- SwitchElementsCollection.cs
- LinqDataSourceDeleteEventArgs.cs
- APCustomTypeDescriptor.cs
- InkPresenter.cs